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
Having issue where we seem unable to get value of input field before user switches focus
Example use case: Simple form with 1 text input field, must be filled out then submit button can enable.
Attempted implementation: connect to "change" events on input field, after each change event, look at the v_model and if not empty, enable the submit button
Problem observed: User enters text but submit still disabled. "Change" event doesn't fire when user finishes, only when focus switches
Attempted solution: Connect to keyup event, but seems no way to get the current value of the input field
Having issue where we seem unable to get value of input field before user switches focus
Example use case: Simple form with 1 text input field, must be filled out then submit button can enable.
Attempted implementation: connect to "change" events on input field, after each change event, look at the v_model and if not empty, enable the submit button
Problem observed: User enters text but submit still disabled. "Change" event doesn't fire when user finishes, only when focus switches
Attempted solution: Connect to keyup event, but seems no way to get the current value of the input field
Should be able to work-around by making a custom template object with javascript (e.g. https://stackoverflow.com/questions/59191213/how-to-get-current-value-on-keypress), but should there be some way to do this without making custom template?
The text was updated successfully, but these errors were encountered: