veams-component-form

5.1.0 • Public • Published

npm version Gitter Chat

Form

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

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

Requirements

  • Veams >= v5.0.0 - Veams Framework.

Installation

Installation with Veams

veams install vc 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

4

Version

5.1.0

License

MIT

Last publish

Collaborators

  • andy-gutsche
  • sebastian-fitzner