fix(ui): honor select search limits for large regional lists

This commit is contained in:
Clintchiz committed 2026-08-26 17:46:13 +05:30
1 parent b1b84eb41c
commit 9e0907ffb2
5 files changed
+84 -4

No files matched your search

+2 -2
View File
@@ -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' : ''}"