You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use as: :date in SimpleForm & jQuery Validation plugin, I have the following error for the day selection: <label for="user_birthdate_3i" class="error">Please enter a valid date.</label>
I've tried ignore: "#user_birthdate_3i", but it does not work..
Rails function date_select is working correctly with jQuery Validation.
I would love to help, but I have no idea why this select for days is showing an error.
ps: I think it is showing an error when day > 12
The text was updated successfully, but these errors were encountered:
Having the same problem. It's because simple_form adds the 'date' class to the input, and thats a trigger for jQuery Validate. I thought it shouldn't trigger without the 'required' class or HTML5 attribute, but it does.
You can disable these class generation using the generate_additional_classes_for configuration. I believe this is more an issue on jQuery Validate so I'm closing.
When I use
as: :date
in SimpleForm & jQuery Validation plugin, I have the following error for the day selection:<label for="user_birthdate_3i" class="error">Please enter a valid date.</label>
I've tried
ignore: "#user_birthdate_3i"
, but it does not work..Rails function
date_select
is working correctly with jQuery Validation.I would love to help, but I have no idea why this select for days is showing an error.
ps: I think it is showing an error when day > 12
The text was updated successfully, but these errors were encountered: