fix: batch instructors selection issue

This commit is contained in:
Jannat Patel
2025-11-27 16:19:17 +05:30
parent a333b0b754
commit b087faeb90

View File

@@ -28,10 +28,12 @@
class="mt-1 rounded-lg bg-surface-white py-1 text-base border-2" class="mt-1 rounded-lg bg-surface-white py-1 text-base border-2"
> >
<ComboboxOptions <ComboboxOptions
class="my-1 min-h-[6rem] max-h-[12rem] overflow-y-auto px-1.5" class="my-1 max-h-[12rem] overflow-y-auto px-1.5"
:class="options.length ? 'min-h-[6rem]' : 'min-h-[3.8rem]'"
static static
> >
<ComboboxOption <ComboboxOption
v-if="options.length"
v-for="option in options" v-for="option in options"
:key="option.value" :key="option.value"
:value="option" :value="option"
@@ -53,7 +55,9 @@
</div> </div>
</li> </li>
</ComboboxOption> </ComboboxOption>
<div class="h-10"></div> <div v-else class="text-ink-gray-7 px-4">
{{ __('No results found') }}
</div>
<div <div
v-if="attrs.onCreate" v-if="attrs.onCreate"
class="absolute bottom-2 left-1 w-[95%] pt-2 bg-white border-t" class="absolute bottom-2 left-1 w-[95%] pt-2 bg-white border-t"