Kuika's Select Box element allows users to select from specific options via a drop-down menu. In this guide, you will learn how to use the Select Box element and how to configure your options.
The Select Box element can be used in both web and mobile applications.
Add Select Box Element
Select Box Element Properties
Data Transfer in Datasources Module
Data Transfer in UI Design Module
Elements settings and customization
Add Select Box Element
Log in to the Kuika platform.
Open the project you will work on from the Apps screen.
Go to the UI Design module.
Select the Select Input category from the Elements panel on the left side.
Drag and drop theSelect Box element to the workspace.
If you drag it to an empty space, the Select Box element will be added along with a Row element.
If you drag it into Column, only the Select Box element is added.
Select Box Element Properties
Value: You can add a static value or use the Symbol Picker to dynamically display the content of another element or the result of an action.
Options: Provides a link to the data table to be shown in the drop-down list.
Fixed Options List: Provides a list of manually defined fixed data.
Placeholder: It is the placeholder text that appears when the user does not enter data.
Allow Clear: Allows the selected value to be deleted with a single click.
Searchable: Allows searching within the drop-down list.
Contains Null Item: You can set the first value of the list as empty.
Sort By: Sorts list items alphabetically A-Z or Z-A.
Dropdown Scroll Item Limit: Specifies the maximum number of items that can be displayed in the dropdown list at the same time. When the specified limit is exceeded, the user can scroll down to view the remaining options.
Working in Datasources View Mode for Data Transfer to Select Box Element
Open the Datasources module.
Create a table containing your data. Example: Department table.
Add the required columns to the table (e.g. DepartmentName).
Create a new SQL Action from the Actions section. Example: SelectDepartment.
Write the following query in the SQL Editor:
SELECT*FROM Department
6. Save the Action.
Working in UI Design View Mode for Data Transfer to Select Box Element
Go to the UI Design module.
On the screen where you added the Select Box, click the ADD ACTION button from the Properties panel on the right side.
Select the SelectDepartment action by following Initial Actions → Custom → Datasource.
Click on the Select Box element and set the following settings from the Options menu: