Skip to main content

ConditionalInputField

@prismatic-io/spectral"types/Inputs"ConditionalInputField

Defines attributes of a ConditionalInputField.

Hierarchy#

Index#

Properties#

Properties#

Optional clean#

clean? : InputCleanFunction‹NonNullable‹this["default"]››

Defined in packages/spectral/src/types/Inputs.ts:143

Clean function


collection#

collection: Extract‹InputFieldCollection, "valuelist"›

Defined in packages/spectral/src/types/Inputs.ts:139

Collection type of the InputField


Optional comments#

comments? : undefined | string

Inherited from BaseInputField.comments

Defined in packages/spectral/src/types/Inputs.ts:46

Additional text to give guidance to the user configuring the InputField.


Optional default#

default? : ConditionalExpression

Defined in packages/spectral/src/types/Inputs.ts:141

Default value for this field.


Optional example#

example? : undefined | string

Inherited from BaseInputField.example

Defined in packages/spectral/src/types/Inputs.ts:48

Example valid input for this InputField.


label#

label: object | string

Inherited from BaseInputField.label

Defined in packages/spectral/src/types/Inputs.ts:42

Interface label of the InputField.


Optional placeholder#

placeholder? : undefined | string

Inherited from BaseInputField.placeholder

Defined in packages/spectral/src/types/Inputs.ts:44

Text to show as the InputField placeholder.


Optional required#

required? : undefined | false | true

Inherited from BaseInputField.required

Defined in packages/spectral/src/types/Inputs.ts:50

Indicate if this InputField is required.


type#

type: "conditional"

Defined in packages/spectral/src/types/Inputs.ts:137

Data type the InputField will collect.