Events and Handlers
The Select component has the following events and handlers available for use:
Events
Event
|
Description
|
On Change Event
|
Triggers when the component's state value changes.
|
On Visibility Change
|
Triggers when visibility is changed directly from any Codeless Logic.
|
Handlers
Handler
|
Description
|
Class List Logic
|
This logic involves modifying the CSS classes associated with the component dynamically.
|
Styles Logic
|
Allows you to change the styles of the component dynamically.
|
Visibility Logic
|
Allows controlling the visibility of the component based on certain conditions. You can use this event to show or hide the component depending on user actions or other factors. If the handler returns true , the component will be visible.
|
Label Logic
|
Determines the value of the component's label. The value returned by the event handler will be used as the component label.
|
Options Logic
|
Using this handler you can return a collection of options provided by the component.
|
Value Logic
|
Using this handler you can add logic to make a programmatic selection of one of the options. The handler should return the value assigned to the option which the logic would like to select.
|
Disabled State Logic
|
Determines if the component should be disabled. If the handler returns true , the component will be disabled.
|
Required State Logic
|
Using this handler you can dynamically configure the component as required. A required component prevents form submission until it has a value.
|