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 doesn't work with bootstrap validation #220

Open
rpuk-matt opened this issue Apr 25, 2019 · 2 comments
Open

Datepicker doesn't work with bootstrap validation #220

rpuk-matt opened this issue Apr 25, 2019 · 2 comments

Comments

@rpuk-matt
Copy link

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>

@MROALI
Copy link

MROALI commented Jul 1, 2019

Do you have any solution for this bug ?

@MROALI
Copy link

MROALI commented Jul 9, 2019

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

@sesemaya sesemaya added the bug label Jan 8, 2020
@sesemaya sesemaya added this to the Backfilling Bootstrap v4.4.1 milestone Jan 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants