Skip to content

Commit

Permalink
separate auto-assigned input id from select id
Browse files Browse the repository at this point in the history
  • Loading branch information
mskocik committed Feb 8, 2024
1 parent 81ff96a commit b48f417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Svelecte.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@

<div class={`svelecte ${className}`} class:is-disabled={disabled} {style}>
<Control bind:this={refControl} renderer={itemRenderer}
{disabled} {clearable} {searchable} {placeholder} {multiple} inputId={inputId || __id} {resetOnBlur} collapseSelection={collapseSelection ? config.collapseSelectionFn.bind(_i18n): null}
{disabled} {clearable} {searchable} {placeholder} {multiple} inputId={inputId || (__id + '-input')} {resetOnBlur} collapseSelection={collapseSelection ? config.collapseSelectionFn.bind(_i18n): null}
inputValue={inputValue} hasFocus={hasFocus} hasDropdownOpened={hasDropdownOpened} selectedOptions={selectedOptions} {isFetchingData}
{dndzone} {currentValueField} {isAndroid} {isIOS} {alwaysCollapsed}
itemComponent={controlItem}
Expand Down

0 comments on commit b48f417

Please sign in to comment.