maxmarcon / live_select

Dynamic (multi)selection field for LiveView
https://hex.pm/packages/live_select
Apache License 2.0
186 stars 35 forks source link

Provide option to make LiveSelect behave like an ordinary HTML <select> element (DeadSelect) #84

Open aidalgol opened 2 months ago

aidalgol commented 2 months ago

Is it possible to make this component behave like a plain <select> element, rather than a text input with a dropdown? The purpose for this would be for when you want the behaviour of a <select> dropdown menu, but with the ability to style it more precisely than is possible with the native <select> and <option> elements.

maxmarcon commented 2 months ago

Hi @aidalgol,

no it's not possible at the moment unfortunately. But it's been requested by others, too.

The idea makes sense to me. I'm gonna use this issue to keep track of the feature request. I will try to work on it when I find some time. It's not gonna happen very soon however.

If you want to take a stab at it in the meantime and work on a PR, that would be very welcome and appreciated!

Cheers.