UIConceptSearch
Presentation component searching against concepts for example and present selected items
Since: 7.0.0 (6.4.0)
Name | Type | Default | Description |
---|---|---|---|
listItems |
| Required - Array of items to present in search list | |
selectedItems |
| Required - Array of item selected | |
label |
| Label for the input/form | |
addButtonLabel |
| Required - Add button label | |
icon |
| Optional icon to use if avatar doesn't exists, if omitted presets per concept type will be used | |
addButtonIcon |
|
| Add button label |
searchPlaceholder |
| Required - Placeholder text for input | |
width |
| Full if you want it to take up full width | |
loading |
|
| Tells if the component is loading items |
working |
|
| Tells if the component is working on adding/updating or removing items |
disabled |
|
| Set to false to hide the search button/field |
onItemAdd |
|
| If it should be allowed to add a concept (only authors) with a nil uuid |
onAddClick |
| Required - "Add button" click callback | |
onInputChange |
| Required - Input change callback | |
onItemSelect |
| Required - Item select callback | |
onItemEdit |
| Required - Selected item is clicked callback | |
onItemRemove |
| Required - Item remove callback | |
onItemAdd |
| Item add callback, used to add concept with a nil uuid (authors only) | |
onItemCreate |
| Item create callback, used to create an actual concept item in repository |