You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Problem
I have attached event listeners to input events hoping to catch when the input is invalid. I show in this example that the console does not log when the element becomes invalid:
Playground Steps To Reproduce
Steps to reproduce the behavior:
Enter text with a length less than 2 and remove focus
See that the onchange writes a log, while the on-invalid does not.
Expected behavior
I expect that when the component becomes invalid, the oninvalid event calls my callback. The same seems to be true for some other events, but I'm not sure if those are down to ignorance on my part.
Environment:
Yew version: 0.21 ( on yew playground)
Rust version: same as yew playground? Latest
Browser and version, if relevant: Chrome
Questionnaire
I'm interested in fixing this myself but don't know where to start
I would like to fix and I have a solution
I don't have time to fix this right now, but maybe later
The text was updated successfully, but these errors were encountered:
Problem
I have attached event listeners to input events hoping to catch when the input is invalid. I show in this example that the console does not log when the element becomes invalid:
Playground
Steps To Reproduce
Steps to reproduce the behavior:
onchange
writes a log, while the on-invalid does not.Expected behavior
I expect that when the component becomes invalid, the oninvalid event calls my callback. The same seems to be true for some other events, but I'm not sure if those are down to ignorance on my part.
Environment:
Questionnaire
The text was updated successfully, but these errors were encountered: