material icon indicating copy to clipboard operation
material copied to clipboard

Datepicker doesn't work with bootstrap validation

Open rpuk-matt opened this issue 6 years ago • 2 comments

The required attribute is ignored and client side validation by bootstrap does not take place. <input type="text" name="due_date" class="form-control" id="inputDueDate" required>

rpuk-matt avatar Apr 25 '19 13:04 rpuk-matt

Do you have any solution for this bug ?

MROALI avatar Jul 01 '19 13:07 MROALI

The solution i found is to remove the readOnly attribute from the input using jquery after setting the datePicler. ( .prop(readOnly, false).

MROALI avatar Jul 09 '19 12:07 MROALI