mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 12:23:02 +00:00
fix: remove translateWithIdMenu, use translateWithId instead
This commit is contained in:
parent
0c39506dcb
commit
ba8321ec8d
2 changed files with 2 additions and 15 deletions
|
@ -82,13 +82,6 @@
|
|||
*/
|
||||
export let translateWithId = undefined;
|
||||
|
||||
/**
|
||||
* Override the menu label based on the open state.
|
||||
* Defaults to "Open menu" and "Close menu"
|
||||
* @type {(id: any) => string}
|
||||
*/
|
||||
export let translateWithIdMenu = undefined;
|
||||
|
||||
/**
|
||||
* Override the label of the clear button when the input has a selection.
|
||||
* Defaults to "Clear selected item" since a combo box can only have on selection.
|
||||
|
@ -246,7 +239,7 @@
|
|||
}}"
|
||||
id="{id}"
|
||||
disabled="{disabled}"
|
||||
translateWithId="{translateWithIdMenu}"
|
||||
translateWithId="{translateWithId}"
|
||||
>
|
||||
<input
|
||||
bind:this="{ref}"
|
||||
|
|
|
@ -101,12 +101,6 @@
|
|||
*/
|
||||
export let translateWithId = undefined;
|
||||
|
||||
/**
|
||||
* Override the default translation ids for the menu
|
||||
* @type {(id: any) => string}
|
||||
*/
|
||||
export let translateWithIdMenu = undefined;
|
||||
|
||||
/**
|
||||
* Override the label of the clear button when the input has a selection.
|
||||
* Defaults to "Clear selected item" and "Clear all items"
|
||||
|
@ -375,7 +369,7 @@
|
|||
}}"
|
||||
id="{id}"
|
||||
disabled="{disabled}"
|
||||
translateWithId="{translateWithIdMenu}"
|
||||
translateWithId="{translateWithId}"
|
||||
>
|
||||
{#if checked.length > 0}
|
||||
<ListBoxSelection
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue