Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.7
-
Fix Version/s: 1.7.2
-
Component/s: ICE-Components
-
Labels:None
-
Environment:All
-
Support Case References:
-
Workaround Exists:Yes
-
Workaround Description:Use a custom validator to check that a value is entered.
Description
The "required" attribute is not working correctly with the selectInputDate component. There was an earlier issue where no validators were working at all that was resolved (ICE-1748), however, no the required attribute is non-functional.
This is a somewhat complex requirement in that the selectInputDate component is comprised of two components itself, the inputText and the button. It's complex/difficult to manage the state to know when a user leaves the inputText that he's just going to the button, so maybe don't enforce the required attribute for that, but if he is going to another element on the page then do enforce it.
The simplest thing is probably to have the required attribute enforced all the time, so if the user just tabs through the inputText on their way to the button, the required test will fail and the msg associated with it will be displayed. This might be acceptable, if a little annoying if you're just trying to use the popup to enter the value and it's already complaining / warning that you need to enter the value.