Hi Alejandro. Thanks for this great component. Is it possible to add a spe

Hi Alejandro. Thanks for this great component.

Is it possible to add a special validator for specific property?

    formFactory.setFieldProvider("mail", () -> {
      TextField field1 = new TextField();
      field1.setLabel(getTranslation("users.mail"));
      field1.setRequired(true);
	  // do somehting here for special validation
      return field1;
    });

Kindly regards
Martin

Hello. I think not at that level. An alternative is to add the validation logic in the save operations:

crud.setAddOperation(entity -> {
    if(isValid(entity)) {
	    ... save ...
	} else {
	    ... show error ...
	}
});

Hi

ok, is it possible that you expose your used binder (if you are using one)?

You can use a custom CrudFormFactory.

muchas gracias