- From: mfluehr <notifications@github.com>
- Date: Tue, 08 Jan 2019 19:47:26 +0000 (UTC)
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 8 January 2019 19:47:49 UTC
We already have an `invalid` event for form fields, but no `valid` event. (In contrast, in CSS, we have **both** an `:invalid` and a `:valid` pseudo-class, which is very helpful.) Can we add a `valid` event for form fields? Use case: I have a warning paragraph that shows when a field is invalid, which is easy to trigger with the `invalid` event. However, it's much harder to hide the paragraph when the field becomes valid again. It seems like this idea must have come up before, though I couldn't find anything about it. (Note: I already posted this issue here -- https://github.com/w3c/html/issues/1665 -- but now I'm wondering if this is the better place? Sorry for any confusion!) -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/728
Received on Tuesday, 8 January 2019 19:47:49 UTC