Required fields on edit screen


when I create a new item, all required fields will be shown with an error (red border):


Is there a way to show the error only when clicking on OK?


Actually, red border here doesn’t mean “Error”, it’s just to have an easy view of required fields on screen.
Required message shown when you press ok is linked to this required fileds. If you want avoid the red border, you have 2 options (I think)

  1. Change css color for required border color. I’m not sure which code is for TextField, I think c-empty-value. LookupFileds could have other. Must see Vaadin doc or use F12 with internet browser.
  2. Create your own Validators and use EntityListener to avoid the requiered parameter of components…