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
This works, but it's a bit disruptive from a user experience:
open the page - submit is enabled
start typing invalid information or enter/leave a field - submit is disabled
The form is in an invalid state to start with, but given the connections to information (messages is empty initially), I'm unsure of that in the isolated scope of the button. I could render initial disabled then yield to the code above, but other page items could trigger another render making this a naive implementation.
What would be the recommended way to solve this? Preferably I'd like to initially disable the button and listen to the form for the first validation or field blur then yield to the code above.
Any thoughts?
The text was updated successfully, but these errors were encountered:
I am using the code from #71 to disable the submit button:
This works, but it's a bit disruptive from a user experience:
submit
is enabledsubmit
is disabledThe form is in an invalid state to start with, but given the connections to information (
messages
is empty initially), I'm unsure of that in the isolated scope of the button. I could render initial disabled then yield to the code above, but other page items could trigger another render making this a naive implementation.What would be the recommended way to solve this? Preferably I'd like to initially disable the button and listen to the form for the first validation or field blur then yield to the code above.
Any thoughts?
The text was updated successfully, but these errors were encountered: