wire-elements / spotlight

Livewire component that brings Spotlight/Alfred-like functionality to your Laravel application.
MIT License
925 stars 72 forks source link

Feature request: Autosuggestion dependency type #21

Closed indykoning closed 2 years ago

indykoning commented 3 years ago

It would be really nice to have a way to provide autosuggestions to dependencies like the default search type does. But also have it possible to continue typing and have it act as an input type where you just get the typed text back.

PhiloNL commented 3 years ago

Thanks for the feature request @indykoning Would you mind providing a bit more details with an example use case written in detail so I can get a better understanding on what you are looking for.

indykoning commented 3 years ago

In my case i'd like to make a list of named commands to run on a server. In this case the search dependency would be perfect. However i also want to be able to run commands that i have typed out fully myself as well. This would require the input dependency.

what i'm thinking of is a search field where the top result is what you typed and is not actually a record in the database.