Need Answer

How to use the mathod isValid on WidgetEditor

Hi,

I'm trying to create my own widget on WidgetEditor, but when I set true to the "require" attribute my form does not validate if the field is empty.

I have seen that there is a function responsible for validating the field "isValid(array invalidElements)", but I don't understand how to use this function.

Can someone give me an example?

Comments (1)

photo
1

Dear Luan,

We are going to analyse this question with our product team. As soon we have an answer, we will write back.

Regards