I have an input field to enter datetime. I have set its attribute readonly to restrict manual input (as the user might enter date in different format.)
Next, I'm using parsely.js for the form validation. I have added the data-parsley-required attribute to the input field but the required validation doesn't work for this readonly input field.
If I remove the readonly and let only the required attribute stay there, then it works.
How can I circumvent this issue?