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
FYI I went about this a little bit different than your suggestion. Instead of trying to make it a proper form, I just made it so the submit button is set to disabled if the value is not present. This provides the desired result.
Current Behavior
The
required
attribute on the text input element in prompt modals is not being enforced.Steps To Reproduce
required
set.Anything else?
skeleton/src/lib/utilities/Modal/Modal.svelte
Lines 174 to 181 in d8a4115
L176 perhaps needs to be wrapped in a form.
By the way, is it a good idea to submit on enter? It feels more intuitive, but I'm not sure if it fails to comply with accessibility standards.
The text was updated successfully, but these errors were encountered: