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