fix(ui): honor select search limits for large regional lists
This commit is contained in:
1 parent
b1b84eb41c
commit
9e0907ffb2
5 files changed
+84
-4
No files matched your search
@@ -375,7 +375,7 @@ component AdvancedSelect {
|
||||
{#if visibleOptions(group.options || []).length}
|
||||
<div class="wrn-next__option-group" role="group" aria-label="{group.label}">
|
||||
<div class="wrn-next__group-label">{group.label}</div>
|
||||
{#each group.options || [] as option}
|
||||
{#each visibleOptions(group.options || []) as option}
|
||||
<button
|
||||
type="button"
|
||||
class="wrn-next__select-option {isSelected(option) ? 'wrn-next__select-option--selected' : ''} {optionIndex(option) === activeIndex ? 'wrn-next__select-option--active' : ''}"
|
||||
@@ -402,7 +402,7 @@ component AdvancedSelect {
|
||||
{/if}
|
||||
{/each}
|
||||
|
||||
{#each options as option}
|
||||
{#each visibleOptions(options) as option}
|
||||
<button
|
||||
type="button"
|
||||
class="wrn-next__select-option {isSelected(option) ? 'wrn-next__select-option--selected' : ''} {optionIndex(option) === activeIndex ? 'wrn-next__select-option--active' : ''}"
|
||||
|
||||
Reference in new issue
Block a user