You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's an autocomplete component based on Shoelace. Shoelace itself doesn't have an autocomplete component, but it does give you basically what you need to build one yourself with minimum effort. I basically took a Shoelace popup component, a Shoelace menu component, and an input, and combined them into an auto-complete popup.
It's not in the docs yet, and I'm not sure it really makes sense to put it anywhere except maybe a cookbook, but it would be quite useful for some kind of deeper integration (eg, Django backend foreign key lookup).
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I did a little experiment:
https://kkinder.pyscriptapps.com/puepy-tutorial/latest/integrations/14_shoelace_autocomplete/index.html
It's an autocomplete component based on Shoelace. Shoelace itself doesn't have an autocomplete component, but it does give you basically what you need to build one yourself with minimum effort. I basically took a Shoelace popup component, a Shoelace menu component, and an input, and combined them into an auto-complete popup.
It's not in the docs yet, and I'm not sure it really makes sense to put it anywhere except maybe a cookbook, but it would be quite useful for some kind of deeper integration (eg, Django backend foreign key lookup).
Beta Was this translation helpful? Give feedback.
All reactions