hilla icon indicating copy to clipboard operation
hilla copied to clipboard

Client-side form: Required indicator is not shown at page load when adding a client-side required validator

Open haijian-vaadin opened this issue 5 years ago • 0 comments

After adding a client-side validator that indicates the field should be required (NotEmpty, NotNull etc), e.g., this.binder.for(firstname).addValidator(new NotEmpty()); The indicator is not shown on page load, but once the field is visited, the indicator is shown.

Meanwhile, adding a server-side annotation would show the required indicator already on page load.

haijian-vaadin avatar Jun 05 '20 19:06 haijian-vaadin