mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 02:11:05 +00:00
fix: ComboBox
, MultiSelect
should have multiple translateWithId
functions (#1283)
* fix(combo-box): ListBoxField and ListBoxSelection have different `translateWithId` props * fix(multi-select): ListBoxField and ListBoxSelection have different `translateWithId` props * Run "yarn build docs" * test: assert translateWithIdMenu, translateWIthIdInput props
This commit is contained in:
parent
877173df59
commit
ff2e6276db
8 changed files with 176 additions and 66 deletions
|
@ -20,6 +20,15 @@
|
|||
on:blur="{(e) => {
|
||||
e.detail; // number | FocusEvent
|
||||
}}"
|
||||
translateWithId="{(id) => {
|
||||
return id;
|
||||
}}"
|
||||
translateWithIdMenu="{(id) => {
|
||||
return id;
|
||||
}}"
|
||||
translateWithIdInput="{(id) => {
|
||||
return id;
|
||||
}}"
|
||||
let:item
|
||||
let:index
|
||||
>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue