feat(multi-select): add itemToInput to allow customizing name/title/labelText

This commit is contained in:
Eric Liu 2022-02-10 07:11:15 -08:00
commit 0f7349eff5
4 changed files with 53 additions and 50 deletions

View file

@ -6447,11 +6447,11 @@
"reactive": false
},
{
"name": "itemToName",
"name": "itemToInput",
"kind": "let",
"description": "Override the input name attribute of a multiselect item.\nDefaults to using the item id",
"type": "(item: MultiSelectItem) => any",
"value": "(item) => item.id",
"description": "Override the item name, title, labelText passed to the checkbox input",
"type": "(item: MultiSelectItem) => { name?: string; labelText?: any; title?: string; }",
"value": "(item) => {}",
"isFunction": true,
"isFunctionDeclaration": false,
"constant": false,