Replies: 2 comments
-
This is likely something we need to expand on in the documentation at some point, but |
Beta Was this translation helpful? Give feedback.
-
To address the main question here: while a filtering list is something we can imagine adding to Textual, it's unlikely that Meanwhile, you may find something like |
Beta Was this translation helpful? Give feedback.
-
I would like to hide individual options in a
OptionList
. I'm trying to implement a fuzzy finder using anInput
and aOptionList
.Clearing all options using
clear_options()
and only adding the matching ones usingadd_option()
works, but take a lot of time on larger option lists. At the same time, only disabling the options on input change is very quick. I've tried to set thevisibility: hidden
attribute on the component class.option-list--option-disabled
, however the options do not disappear.I would like to see a hidden feature for options in an
OptionList
. How would it be implemented? Extend the CSS functionality or add a new attribute to theOption
class?Beta Was this translation helpful? Give feedback.
All reactions