0

I've a FormLayout in my project, in this FormLayout I've one field email that I use EmailValidator to validate and one Button("Save").

When I enter with email on field email the validate is work and mark the field with (!) red if there any error.

How to I can check formlayout when I click on Button("Save") if there any field with validate error(!) the formlayout not be submited ?

Any idea ?

FernandoPaiva
  • 4,410
  • 13
  • 59
  • 118

1 Answers1

0

Have a look at this chapter here and at the source code in the basic() method here.

nexus
  • 2,937
  • 3
  • 17
  • 22