问题
I have used the PrimeFaces date selector like the following
<p:calendar id="endDate" styleClass="dateWidth" mask="99/99/9999"
value="#{xxController.endDate}" showOn="button" pattern="MM/dd/yyyy">
<p:watermark value="MM/DD/YYYY" for="endDate" />
</p:calendar>
This works fine and submits the form when the date is valid or even empty but the form is not getting submitted when i try with values like 99/99/9999
Could someone help me on this please?
I am using PrimeFaces 6.2.
来源:https://stackoverflow.com/questions/54493832/pcalendar-does-not-allow-the-form-submit-when-the-date-value-is-wrong