To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.
I'm trying to create a CustomField. This CustomField contains a TextField and a Button... The button can only be clicked if there is a value in the textfield so I add a NullValidator on the TextField. It works when the screen loads but when I add a value in the field; it stay marked as Invalid. The Textfield is builded like
textField = new TextField(); textField.setNullRepresentation(""); textField.setImmediate(true); textField.addValidator(new NullValidator("This field is required", false));