nylas-booking-form-config

Overview

The nylas-booking-form-config component is a form input for adding additional fields to the booking form.

Version1.1.0
Install (React)npm install @nylas/react
Import (React)import { NylasBookingFormConfig } from '@nylas/react';

Properties

PropertyAttributeDescriptionTypeDefault
additonalFieldsThe additional fields to be displayed on the booking form.AdditionalFields[] | undefinedundefined
namenameThe name of the booking form config.string'booking-form-config'
selectedConfigurationThe selected configuration.Configuration | undefinedundefined

Events

EventDescriptionType
valueChangedThis event is fired when the selected availability / open hours change.CustomEvent<{ value: Record<string, AdditionalFields>; name: string; }>

Shadow Parts

PartDescription
"nap__add-time-range"
"nbfc__add_field"The add field selection container
"nbfc__add_field-button"The add field selection button
"nbfc__add_field-content"The add field selection dropdown content
"nbfc__additional_fields"The aditional fields container
"nbfc__form-field"The single form container
"nbfc__form-field-content"The single form content
"nbfc__form-field-header"The single form header
"nbfc__form_field"
"nbfc__form_field-content"
"nbfc__form_field-header"
"nbfc__header"The header of the booking form

Built with StencilJS