aurelia-form-validation

Gitter

A plugin for aurelia-form that enables form validation.

Usage

Using this plugin is an automatic process. All you have to do is install it, and register the plugin in main.js after aurelia-form.

Configuration

This plugin and aurelia-form use aurelia-config.

The config for this plugin is:

{
  'aurelia-form': {
    validation: {
      controller: validationController,
      trigger: validateTrigger.change
    }
  }
}

Note: Generally you'll only change the trigger (defaults to change). Only change the controller if you know what you're doing.

results matching ""

    No results matching ""