I have a simple datePicker field below
<datePicker id="createdDateFromField" property="createdDate" width="100%"/>
I want to validate in datePicker field when end-users typing something like ‘abc’ to the datePickerField in the view
My expectation: I want to throw an error like ‘wrong format, please re-enter’.
But I cant do this because:
- createdDateFromField.isEmpty() return true
- this control dont have any method for me to get the input string from the view
=> I cant validate datePicker field
How can I get the input string from the view