simplr-validation
This readme is WIP. There may be some inconsistency.
This package subscribes to simplr-forms
store and it will validate on emitted actions.
Features
- Validates fields on form store actions (
FieldRegistered
,ValueChanged
,PropsChanged
) - Subscribes to form store handler and form stores to listen actions
- Premade validators like: Email, Required, Contains etc.
Get started
To initialise module you need to import subscriber once in your app.
; Subscriber.SubscriberContainer;
Validators example
;; }