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.
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:
Action: SelectDepartment
Field to display: DepartmentName
Field to Use as Key: Id
By following this guide, you can use the Select Box element effectively in your application.
Element Settings and Customization
Authorization
Anonymous Access: Allows users to access without entering account information.
All Roles Access: Provides access by verifying users' account information.
For element-level authorization, edit Authorization settings in the Properties panel.
Visibility
Always Visible: Element is always visible.
Hidden: Element is hidden.
Sometimes Visible: The element is visible depending on a specific condition.
To configure the setting:
Select the element on the screen.
Open the Properties panel on the right edge.
In the Visibility field, select an option according to your needs.
Editability
Enabled: Elements can be edited.
Disabled: Element cannot be edited.
Sometimes Enabled: The element can be edited or uneditable according to certain conditions.
Interface Design with Style Panel
By customizing your elements with the Styling Panel, you can create impressive interfaces for your web and mobile applications. In this section, you can configure the following settings:
Layout: Sizing, alignment and padding settings. Settings include Size, Min Size and Align.
Text: Font, style, color, size and spacing settings.
Fill: Customize the background with color or images.
Border: Add borders and corner radius settings.
Shadow: Add a shadow effect to add depth to elements.
By following these steps, you can configure the Area Chart element to suit your needs.
Actions
Kuika supports the following system actions:
Arithmetic, Authorization, Condition, Device, Export, Geolocation, Inversion, Local Storage, Multi Language, Navigation, Notification, Payment, UI Control, Process Administration, Process Automation, Trigger, Process Automation, Process Administration and String Operations.
You can also use SQL actions that you create yourself.
You can use the +ADD ACTION button from the Properties panel to add an action.
Actions support may not be available in some elements.