Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Invalid
-
1.1.3
-
None
-
None
Description
The method assigned by the "validator" attribute on the t:inputCalendar tag is not called if the inputCalendar's own validation fails. My understanding, which I grant might be incorrect, is that this attribute should either override or supplement the component's internal validation.
For example, if "not a date" is entered into the calendar's input box, the calendar's validation reports a message of 'The given value "not a date" could not be converted to a date.' Further validation does not occur even if the "validator" attribute is set. This would be useful if the application needs to reset or clear other field values when an invalid date is entered. If, on the other hand, a proper date is entered, then both the calendar's validation and the specified validator method are called.