Replies: 1 comment 1 reply
-
It might help people if you clarified your question a bit; he subject and the main body don't seem to be related, and it's not really cler what the question is. It might be a good to ask one or more specific questions. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I have been learning textual and there are a lot of great examples of how to setup widgets like the option list, and using buttons but less clear how that extends to something like option list. But I have been trying to figure out how I could it with some inits but I think I am probably missing a better way. So the base on the example from the docs https://textual.textualize.io/widgets/option_list/#options-as-option-instances, what would be a better way to have the same widget but use the event of selecting an option make the option selected removed (was trying to do this as a self contained example)?
Below is the working solution I have currently.
Beta Was this translation helpful? Give feedback.
All reactions