wire-elements / spotlight

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

Show results without input #77

Closed riasvdv closed 2 years ago

riasvdv commented 2 years ago

This PR makes it so the results are shown even without any search input. Closes #62

image

I feel like it's a better default command palette behaviour, we could still put this behind a config flag if you prefer?

PhiloNL commented 2 years ago

Thanks for the PR. Given it changes the default behavior people are currently expecting I would prefer having a config flag. In the next major version, it can be set to true on default.

riasvdv commented 2 years ago

@PhiloNL Added a config setting for it that defaults to false!

PhiloNL commented 2 years ago

Thanks @riasvdv 🙌

danpalmieri commented 2 years ago

is it tagged?

undjike commented 1 year ago

Hello, there is a display issue with this parameter set to true.

The problem occurs when the command uses more than one dependency.

The results displayed by the first search affect the display of the second search.