petalframework / petal_components

Phoenix + Live View HEEX Components
https://petal.build/components
MIT License
847 stars 97 forks source link

Multiselect #80

Closed chvanikoff closed 2 years ago

chvanikoff commented 2 years ago

Hi, what are your thoughts on implementing multiselect component besides the checkbox group? Here is an excellent design spec on multiselects and the related demo/implementation in React, in case anyone is interested.

mplatts commented 2 years ago

It would be cool - I think it'd need a lot of Javascript to make it snappy. Liveview might be a bit too laggy for what you'd expect to be lightning fast. Usually, I'd use a hook that loads an external library like Slim select.