Skip to main content

Input Group

Input Group enhances the input widget by adding a button next to the text field.

Example

A8Studio

API Methods

setButtonText

Sets the text for custom text buttons.

setButtonText(buttonText: string): void

setLabel

Sets the label of the field.

setLabel(label: string): void

setPlaceholder

Sets the placeholder as a string that temporarily holds the place to the final data.

setPlaceholder(placeholder: string): void

setReadOnly

Sets the ReadOnly flag for this context.

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 if elements of the given category is visible in this view.

setVisibility(visible: boolean): void

setVisibilityCondition

Sets the hide condition

setVisibilityCondition(condition: string): void