mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-22 05:03:44 +00:00
feat(multi-select): add itemToInput to allow customizing name/title/labelText
This commit is contained in:
parent
c42aea86fa
commit
0f7349eff5
4 changed files with 53 additions and 50 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue