autocomplete single value
This block is part of the state ui
group and was last modified in core v13.0.4
.
autocomplete single value
v13.0.8
Generates auto-complete select searching a storage and filling the state with the search-key. The field will be used as state key.
Pin | Pin | Type | Default |
---|---|---|---|
form idrequired A unique ID for the form this field is used in. |
value |
|
|
storage fieldrequired Field to select and view within the given results. |
fielddefinitions |
|
|
show searchbar Enables searchbar in the dropdown. |
condition |
|
|
query A query to filter the data that can be found using this searchbox. |
query |
|
|
rows The dropdown has this quantity of items in it, if it is lower than quantity found items load more button is shown. Default is 10. |
number |
10 |
|
return fields Fields that will be returned during the search. Should be set if the data sent to the frontend should be limited due to confidential fields. |
fielddefinitions |
Storage fields |
Pin | Pin | Type | Example |
---|---|---|---|
state Returns the element to the frontend state. |
state |
||
Map Row The function will be executed for each row and state pins can be returned to overwrite whats visible. |
execute_function |
||
Row Component The component will be executed for every row and replace the default value. A div should be returned. The available parameters are row and index . |
iteratestate |
Core Releases
v13.0.8 This block was introduced inv13.0.8
, click here to see the release notes.
v13.0.4
This block was last modified in v13.0.4
, click here to see the release notes.
Back to
state ui
Return to the main group to view all sub-groups
Back to state elements
Return to the group to view all blocks within this group