Form
<ns-form>
Overview
Form is used to contain inputters and manage their validations and data.
Examples
Guidance
Implementation
Placement
The ns-form
component can be used in the following components:
<ns-panel>
<ns-card>
Specification
Attributes
type
- Property
type
- Type
string
- Default
standard
Slots
Slot | Permitted tags | Description |
---|---|---|
Anonymous slot | <ns-inputter> <ns-datepicker> <ns-appointment-picker> <nsx-address-selector> <ns-password> <ns-form-group> <ns-cta> | Anonymous slot for content. |
Events
Name | Description |
---|---|
validated | Dispatched when the form is validated. Contains validation object. |
submit | Dispatched when the form is submitted. |