christianalfoni/formsy-react

Incompatible API changes

Open

#330 aperta il 22 apr 2016

Vedi su GitHub
 (7 commenti) (0 reazioni) (0 assegnatari)JavaScript (423 fork)github user discovery
help wantedquestion

Metriche repository

Star
 (2574 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

My suggestions:

  1. Remove automatic validation at start rendering and in setValue.
  2. Rename validate to customValidate.
  3. Add validate method to Form and Mixin for manually validation.

This should make it very easy following scenarios:

  • validate on change
  • validate on blur
  • validate on submit
  • ...

@twisty @mbrookes and other Your opinion is important

Guida contributor