Skip to content

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

SlotPermitted tagsDescription
Anonymous slot<ns-inputter> <ns-datepicker> <ns-appointment-picker> <nsx-address-selector> <ns-password> <ns-form-group> <ns-cta> Anonymous slot for content.

Events

NameDescription
validatedDispatched when the form is validated. Contains validation object.
submitDispatched when the form is submitted.