Skip to content
Discussion options

You must be logged in to vote

i could make it work, by changing "email" 's data type to String...

It was "Email" .. one of my custom classes...

public class Email extends Field<String> {
   public Email(String param) {
       super(param);
   }

    @Override
    public boolean isValid() {
       // TODO: later use regex approach to validate... 
       return value.trim().isBlank() ? false : true;
    }
}

Is there any way to solve it without this change ???

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by a1prashant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant