@veams/component-form

1.0.1 • Public • Published

npm version Gitter Chat

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.

Readme

Keywords

Package Sidebar

Install

npm i @veams/component-form

Weekly Downloads

3

Version

1.0.1

License

MIT

Unpacked Size

37.1 kB

Total Files

26

Last publish

Collaborators

  • andy-gutsche
  • sebastian-fitzner