techouse / select-auto-complete

An auto-completing Laravel Nova search field
MIT License
31 stars 17 forks source link

Select auto complete not working with group select #33

Open simpsons310 opened 3 years ago

simpsons310 commented 3 years ago

I've tried laravel nova example about select with group options

SelectAutoComplete::make('Size')->options([
    'MS' => ['label' => 'Small', 'group' => 'Men Sizes'],
    'MM' => ['label' => 'Medium', 'group' => 'Men Sizes'],
    'WS' => ['label' => 'Small', 'group' => 'Women Sizes'],
    'WM' => ['label' => 'Medium', 'group' => 'Women Sizes'],
]),

But it seem that this package does not handle with this case image

techouse commented 3 years ago

Hey,

The package uses robrogers3/vue-single-select to do the heavy-lifting and I'm not sure that supports this logic.