@veams/component-form
v1.0.1
Published
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
Downloads
18
Readme
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
- @veams/core - Veams Core Framework.
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.