Skip to main content

CodeInputField

@prismatic-io/spectral"types/server-types"CodeInputField

Hierarchy#

Index#

Properties#

Properties#

Optional collection#

collection? : InputFieldCollection

Inherited from DefaultInputField.collection

Defined in types/server-types.ts:136

Collection type of the InputField


Optional comments#

comments? : undefined | string

Inherited from DefaultInputField.comments

Defined in types/server-types.ts:142

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


Optional default#

default? : undefined | string

Inherited from DefaultInputField.default

Defined in types/server-types.ts:140

Default value for this field.


Optional example#

example? : undefined | string

Inherited from DefaultInputField.example

Defined in types/server-types.ts:144

Example valid input for this InputField.


key#

key: string

Inherited from DefaultInputField.key

Defined in types/server-types.ts:130

Unique identifier of the InputField. Must be unique within an Action.


label#

label: string

Inherited from DefaultInputField.label

Defined in types/server-types.ts:132

Interface label of the InputField.


Optional language#

language? : undefined | string

Defined in types/server-types.ts:153


Optional model#

model? : InputFieldChoice[] | InputFieldModelFunction

Inherited from DefaultInputField.model

Defined in types/server-types.ts:148

Dictates possible choices or a function to generate choices for the InputField.


Optional placeholder#

placeholder? : undefined | string

Inherited from DefaultInputField.placeholder

Defined in types/server-types.ts:138

Text to show as the InputField placeholder.


Optional required#

required? : undefined | false | true

Inherited from DefaultInputField.required

Defined in types/server-types.ts:146

Indicate if this InputField is required.


type#

type: "code"

Overrides DefaultInputField.type

Defined in types/server-types.ts:152