AppMaster.io
Home
Studio
Jobs
Suggest Feature
Search…
English
What is AppMaster.io?
Getting Started
App Architecture
Quickstart
Best Practices
FAQ
Projects
Creating a Project
Project sharing
MODULES (INTEGRATIONS)
Modules
Setup
Modules List
Data Design
What are data models
Data Models Designer
Data types
Relation types
Auto-generation of data models
Business Logic
Business Processes Editor
Best Practices for BP Separation
Blocks List
Global Variables
External API Requests
FAQ
Endpoints (API)
Endpoints Configuration
Middleware
Access & Permissions
WEB APPS
Web Applications Designer
Working with Components
Signup and Login Forms
Workflow in web applications
Components list
Container
Button
Dropdown
Table
View
Tabs
Switch
Label
Image
Video
Chart
Form
Input (string)
Input (text)
Input (integer)
Input (float)
Input (email)
Input (password)
Input (phone)
RichText Editor
Time Span
Date Picker
Time picker
DateTime Picker
Select
Select (enum)
Relselect
MOBILE APPS
Mobile Applications Designer
Creating a Mobile App
Mobile Designer Interface
Working with Screens
Working with Widgets
Publishing a Mobile App
DEPLOYMENT
Deployments Configuration
AppMaster.io Cloud Services
Data Export
Logs
How-To
Import CSV/Excel File
Buttons Setup
User Interface Layout
Powered By
GitBook
Select (enum)
Select component to select Enumeration type of objects.
Initial settings
Data source
-
enum
type of object to be used to show dropdown options from.
Mode
- choose
Multiple
for being able to select multiple options from the dropdown. Otherwise,
Single
mode should be used.
Look&Feel Settings
Label
(not mantory) to be used to show the component's label.
Placeholder
(not mandatory) to be used to show the component's placeholder.
Name
(mandatory) - name of the component.
Size
(mandatory) - size of the component. Is set to
Default
when component is created.
Search
(mandatory) - to be able to search within available dropdown options. Is turned off by default.
Clear icon
(mandatory) - shows clear options icon if enabled. Is turned off by default.
Disabled
(mandatory) - makes the component disabled if turned on. Is turned off by default.
Visible
(mandatory) - makes the component visible if turned on. Enabled by default.
Data
Data source
-
Data Model
in use. Configurable only on component's creation.
Workflow triggers
onChange
- fires when the component's state is change.
onFocus
- fires when the
Select (enum)
component is being focused on.
onBlur
- fires when the
Select (enum)
component is blurred.
onCreate -
fires when the component is created.
onDestroy
- fires when the component is destroyed.
Component Actions
Select Enum Get Properties
Gets the component's properties.
Input
parameters:
Component Id
[string]
-
Select Enum component's identifier;
Output
parameters:
Selected
[
enum / enum array
] - selected option(s). To be shown in the business process when the
Component ID
is specified only.
Label
[
string
] - component's label;
Placeholder
[
string
] - component's placeholder;
Allow Clear
[
boolean
] - allows clear the selection if
true
;
Disable
[
boolean
] - disables component if
true
;
Tooltip
[
string
] - tooltip string;
Required Mark
[
boolean
] - shows required mark if
true
;
Debounce
(ms) [
integer
] - delay to validate the value;
Validate Icon
[
boolean
] - icon to be shown on validate the value;
Validate Status
[
Status type
] - status to be shown on validate the value;
Validate Message
[
string
] - message to be shown on validate the value
Select Enum Set Properties
Sets the component's properties.
Input
parameters:
Selected
[
enum
/
enum array
] - selected option(s). To be shown in the business process when the
Component ID
is specified only.
Component Id
[string]
-
component's identifier;
Label
[
string
] - component's label;
Placeholder
[
string
] - component's placeholder;
Allow Clear
[
boolean
] - allows clear the selection if
true
;
Disable
[
boolean
] - disables component if
true
;
Tooltip
[
string
] - tooltip string;
Required Mark
[
boolean
] - shows required mark if
true
;
Debounce
(ms) [
integer
] - delay to validate the value;
Validate Icon
[
boolean
] - icon to be shown on validate the value;
Validate Status
[
Status type
] - status to be shown on validate the value;
Validate Message
[
string
] - message to be shown on validate the value
Select Enum Update Properties
Updates component's properties.
Input
parameters:
Selected
[
enum
/
enum array
] - selected option(s). To be shown in the business process when the
Component ID
is specified only.
Component Id
[string]
-
component's identifier;
Label
[
string
] - component's label;
Placeholder
[
string
] - component's placeholder;
Allow Clear
[
boolean
] - allows clear the selection if
true
;
Disable
[
boolean
] - disables component if
true
;
Tooltip
[
string
] - tooltip string;
Required Mark
[
boolean
] - shows required mark if
true
;
Debounce
(ms) [
integer
] - delay to validate the value;
Validate Icon
[
boolean
] - icon to be shown on validate the value;
Validate Status
[
Status type
] - status to be shown on validate the value;
Validate Message
[
string
] - message to be shown on validate the value
Usage example
It is possible to make some options to be preselected in the
Select (Enum)
component.
The logic should be following:
Drag and drop
Select Enum Set Properties
business process block into the canvas.
Define the
Component ID
to make
Selected
property visible for configuring.
Once
Selected
is available, define the value as needed.
This logic should work when the component is created (
onCreate
).
Previous
Select
Next
Relselect
Last modified
3mo ago
Copy link
Outline
Initial settings
Look&Feel Settings
Data
Workflow triggers
Component Actions
Select Enum Get Properties
Select Enum Set Properties
Select Enum Update Properties
Usage example