Skip to content

pat-validation ignores "required" on pat-autosuggest #683

@reinhardt

Description

@reinhardt

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.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions