Open cromoteca opened 1 year ago
I also ran into this. Here's the model I was using:
public class Customer {
@NotBlank(message = "Name is mandatory")
private String name;
@NotBlank(message = "Email is mandatory")
@Email
private String email;
@NotBlank(message = "Phone is mandatory")
@Pattern(regexp = "^[0-9]{10}$", message = "Phone number must be 10 digits")
private String phone;
....
}
After #1178, when editing a field that has an invalid length, the message flashes, see video. Screencast from 2023-08-25 16-19-24.webm