Skip to content

Appointment picker

<ns-appointment-picker>

Overview

Appointment picker is used to select a date and time slot for an appointment.

Examples

Guidance

Implementation

Placement

The ns-appointment-picker component can be used in the following components:

  • <ns-form>
  • <ns-form-group>

Specification

Attributes

slot-data

Property
slotData
Description
The array of times available for an appointment.
Type
object
Default
[]

validation

Property
validation
Type
string[]
Default
[isRequired]

disableNative

Property
disableNative
Type
boolean
Default
true

showMessage

Property
showMessage
Type
boolean
Default
true

name

Property
name
Description
The form name of the appointment picker.
Type
string

value

Property
value
Description
The value of the appointment picker.
Type
string
Default

labelID

Property
labelID
Type
string
Default

heading

Property
heading
Type
string
Default

type

Property
type
Type
string
Default
standard

Events

NameDescription
changeThe event fired when the value changes. Returns the value of the appointment picker.