Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Datepicker and reportValidity #2667

Open
sunco007 opened this issue Oct 25, 2022 · 0 comments
Open

Datepicker and reportValidity #2667

sunco007 opened this issue Oct 25, 2022 · 0 comments

Comments

@sunco007
Copy link

If the datepicker is inside a form, also the control is required and you call reportValidity then the browser display the "Fill this field" but also the control display the calendar

Looking for a way to not display the calendar, just the validation part

<form id="frm">
<input type="text" required>
</form>

$("#frm")[0].reportValidity();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant