carbon-components-svelte/src/MultiSelect
metonym 2148e1c7b6
feat(multi-select): add itemToProp to customize name, title, labelText values passed to input (#1074)
Currently, the input `name` for each item uses the same value as `itemToString(item)`.

This adds an `itemToInput` prop to allow the consumer to customize the name/title/labelText values passed to the `Checkbox` input.

The name attribute now defaults to use the `item.id` instead of `item.text`.
2022-02-10 08:32:24 -08:00
..
index.js chore: lift components folder 2020-07-19 09:06:08 -07:00
MultiSelect.svelte feat(multi-select): add itemToProp to customize name, title, labelText values passed to input (#1074) 2022-02-10 08:32:24 -08:00