gets actual text value from the control input
string | text displayed in the input field |
$$("mydatepicker").getText();
$$("mycolorpicker").getText();
To get the control value you should use the getValue method.
In case you don't have a stringResult property in the control configuration, the getValue method will return raw unformatted value.