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