Making a field required #5558
blinksbjerg
started this conversation in
General
Replies: 1 comment 4 replies
-
I don't believe the MWC beta components fully integrated with form validation, only form data. I'd recommend upgrading to MWC 1.0 and use |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to make a field required, and I'm doing this:
<mwc-textfield class="w-100" label="Email Address" name="email" type="email" required outlined></mwc-textfield>
And I can submit form form no matter what. If it's not an email address or if it's missing. What do I do?
Beta Was this translation helpful? Give feedback.
All reactions