-
Notifications
You must be signed in to change notification settings - Fork 43
Closed
Description
When adding an input.pat-autosuggest with a "required" attribute to a form.pat-validation element, it is ignored and the form can be submitted without entering/selecting a value.
Minimal example:
<form class="pat-validation">
<input type="text" required="required" name="input1" />
<input type="text" class="pat-autosuggest" required="required" name="input2" />
<button type="submit">Submit</button>
</form>
Submitting the form does not work when omitting the first input, but it does work when filling in the first but omitting the second (autosuggest) input.