Field types & types recognition
Last updated
Last updated
Complex components (Table, Form, Detail) support various column/field types, such as:
🔠 String
🗓️ Date
🔠 Long Text
⌛ Time
🔗 Link
✔️ Select/Tag
🔢 Number
☑️ Multiselect/Tags
⭐ Rating
{;} JSON
💲 Currency
🔘 Button
📈 Percent
🔽 Context menu button
✅ Boolean
🖼️ Image
📅 Date & Time
🖇️ File
These field types share their settings among all supported components, meaning that, for example, configuring dropdowns for a Table or Form is exactly the same.
Using these types, you can build a component that will support most of the common use cases.
Form, Table, Detail and some other components support autogeneration of field types based on the component data. Autogeneration works in the following cases:
Creating an Action and adding a Component.
This is the scenario when you first create and run an action, then add a component and assign your action to it. All the fields and their types are generated automatically.
Using the Regenerate structure button.
Here, you connect your action (state variable or another component property) to an already added component and generate its structure from there.
No need to configure similar Components over and over again.
When generating a structure based on another Component property, UI Bakery not only creates the same structure but also copies the properties of all its field types.
You can also configure fields and columns of various types manually. Follow this instruction to learn how you can do that:
Click the plus sign at the bottom of the Columns list.
In the Field panel that pops up, configure the following properties:
If your component is connected to a data source, select a proper field from the Field name dropdown. If you can't find the field you need in the list, enter a name manually. This way, a new field/column will be added but not mapped to the connected dataset.
Select a field type from the Type dropdown.
Configure the remaining properties as needed.
All field types support View and Edit modes. These modes are extremely helpful when you need to edit data inline in a Table or Detail component without creating a separate Form for it.
This is quite simple: you just need to add your component (say, a Detail) and turn on the Edit mode for a specific field. This way, any end-user will be able to quickly adjust the model directly from the component.
Similarly, you can also turn on the View only mode for fields, for example, in a Form component. In this case, the fields will be displayed but your end-users won't be able to edit them.
All field types in UI Bakery support validation but these settings vary from one type to another. You can find validation settings in the field's Edit settings section.