1.0.1 • Published 6 years ago

@veams/component-form v1.0.1

Weekly downloads
7
License
MIT
Repository
github
Last release
6 years ago

Form

The form component is a complete solution for your forms. It provides

  • ajax functionality
  • a date picker (pikaday.js)
  • custom styles for checkboxes and radio buttons
  • jQuery-free.

Requirements


Installation

Installation with Veams

veams install component form
veams -i c form

Usage

JavaScript Options:

submitOnLoad

Type: boolean | Default: false

Submit form on page load.

submitOnChange

Type: boolean | Default: true

Submit form on change.

loadingClass

Type: string | Default: null

Optional class to be set while fetching data from server.

successClass

Type: string | Default: 'is-success'

Class to be set after data was fetched successfully.

errorClass

Type: string | Default: 'is-error'

Class to be set after fetching data failed for some reason.

1.0.1

6 years ago

1.0.0

6 years ago