If the date is a required field and this widget is set as "inline", the original input gets hidden via JS (inline display:none on the input).
If the field is empty (no default value), the user will not be able to submit the form and no client side error message will be displayed.
This provides a bad experience for the user, not understanding what's wrong and not being able to save the work, giving the impression something is broken.
If for some reason there is a further server side validation on the date, the standard drupal error message will display but it won't provide a matching highlight and, depending on the message, this could be confusing as well.
Although it could be a edge case, in a form with several fields it's very easy to get lost.
I'm looking into a possible way on how to fix this. Suggestions are welcomed.
Comments
Comment #2
valic