Validation

Form validation is independent for every component.

You need to specify input name and rules.

For the rules, just use Laravel validation as usual.

You can use as many rules as you want for the same field:

  • required|alpha
  • required|email

Here is an example:

Sample validation