3 ms·
Its your job to remove that state if it fails and inform the user. This is just not written down in this post. Thats the part were you have to contact the write
by anon23432343 3y ago
Its your job to remove that state if it fails and inform the user. This is just not written down in this post. Thats the part were you have to contact the writer.
- alpaca128 3y ago> Thats the part were you have to contact the writer. Why? It's basic error handling. And the author linked to another explanation about the aria-live attribute for the user informing part.
- chrismorgan 3y ago“Basic error handling” is distressingly rarely present, and when present, regularly broken. In general I do think it’s mildly irresponsible to not mention error handling at all and (taking what this article does) to show reenablement only via linear code flow that assumes success. But when it’s in an article about the problems of disabling submit buttons, then it’s even more perplexing.