bootstrap-datepicker icon indicating copy to clipboard operation
bootstrap-datepicker copied to clipboard

Datepicker and reportValidity

Open sunco007 opened this issue 3 years ago • 0 comments

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();

sunco007 avatar Oct 25 '22 21:10 sunco007