Skip to main content

Select

The "select" element is used to create a drop-down list. This element is most often used in a form to collect user input.

Example

A8Studio

API Methods

setData

Sets the data in the particular array of objects.

setData(data: SelectData[]): void

setLabel

Sets the label of the checkbox.

setLabel(label: string): void

setPlaceholder

The placeholder attribute specifies a short hint that describes the expected value of a text field.

setPlaceholder(placeholder: string): void

setReadOnly

Sets the ReadOnly flag for this context. When in ReadOnly the user cannot be able to edit the content.

setReadOnly(readOnly: boolean): void

setRequired

Sets a field to be required or not.

setRequired(required: boolean): void

setSize

Sets the size only using the parameters passed in.

setSize(size: "small" | "medium" | "large"): void

setVisibility

Sets the elements of the given category to visible in this view.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the hide condition

setVisibilityCondition(condition: string): void