1.0.1 • Published 7 years ago
@veams/component-form v1.0.1
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 formveams -i c formUsage
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.