Simone,
Thanks for the explanation which clarifies things greatly, and also
explains the behavior I was seeing. In my case the validation was
indeed being triggered by a call to the widget's getValue within my
on-value-changed event handler. An explicit call to validate() in my
event hand
Hi Robin,
AFAIK widgets are validated in two cases :
- When getValue is explictly called
- When validate is called
This means that in a normal form usage, they are validated :
- If another component (say, an event listener) calls the getValue() for
some reason.
- If a submit button is pressed (
Hi All,
I have a text field with custom validation and a value-on-changed
event listener...
return validateVideoKey(widget);
updateFiles(event.source);