Open Uhasith opened 3 months ago
What you're describing is the shadcn/ui combobox. We elaborate which solution we will offer right now. We use luvi-ui in a livewire project at the moment. We will add a showcase how to solve that problem with livewire.
What you're describing is the shadcn/ui combobox. We elaborate which solution we will offer right now. We use luvi-ui in a livewire project at the moment. We will add a showcase how to solve that problem with livewire.
Yeah, correct. In wireui they have this kind of thing https://wireui.dev/components/select#async-search. You can define a Laravel get route and define a logic there as you want. This is handy thing to have.
When can we have the Combo Box Feature ? @thoresuenert
@Uhasith we have an example ready, need to polish some things tomorrow. hopefully we will release it tomorrow.
@Uhasith we cooked something for you https://laravel-luvi.com/docs/livewire-components/combobox hopefully that is the answer to your question.
Otherwise feel free to elaborate more about your needs or implement it yourself. Happy to see pull requests.
@Uhasith we cooked something for you https://laravel-luvi.com/docs/livewire-components/combobox hopefully that is the answer to your question.
Otherwise feel free to elaborate more about your needs or implement it yourself. Happy to see pull requests.
Yeah it's looks awesome. But i guess it should be awesome to declare some backend route for handle the search query. From that kind of approach we will have more flexibility to perform the Search. For example when we dealing with Large amount of data set. We can set Limits. Pass some parameters and Narrow down our search Async Way. For update forms we can pass selected ids so they will come at the Top when search route is called. Really Really Happy about the effort Guys. But this can be optimized. Refer Some Docs in wireui Documentation. ❤️🚀🚀 @thoresuenert
What you're describing is the shadcn/ui combobox. We elaborate which solution we will offer right now. We use luvi-ui in a livewire project at the moment. We will add a showcase how to solve that problem with livewire.
Yeah, correct. In wireui they have this kind of thing https://wireui.dev/components/select#async-search. You can define a Laravel get route and define a logic there as you want. This is handy thing to have.
@thoresuenert Check these Mate. You can get a clear idea. Only thing i miss in Luvi Ui at the moment is this kind of Fully featured ComboBox 😃
We are open to PRs. Feel free to do it as you need.
What happened?
From that, we can define a route and get select options from an endpoint. Basically user can type and Search the record. This is useful when dealing with Large sets of data.
How to reproduce the bug
From that, we can define a route and get select options from an endpoint. Basically user can type and Search the record. This is useful when dealing with Large sets of data.
Package Version
2.0.0
PHP Version
8.2
Laravel Version
11.0.0
Which operating systems does this happen with?
macOS
Notes
No response