-
Notifications
You must be signed in to change notification settings - Fork 780
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't change a Select widget promt and options #2983
Comments
@ShinoNia Your report is a little unclear, so I want to check a couple of things. You say that this doesn't work: select_widget._options = [("Opt 3", 1)] You're attempting to access an internal value there (denoted by the leading You also say this doesn't work: select_widget.options = [("Opt 3", 1)] which is correct. That isn't the documented method of updating the options for a As you appear to have discovered, Can I just be clear here that you're not reporting anything to do with this? Assuming you're not, would I be correct in understanding that the issue you're reporting here is that this: select_widget.prompt = "select 2" has no visible effect? If so I agree and that would appear to be a bug that requires addressing. |
@rodrigogiraoserrao Not if I'm reading it correctly. |
Don't forget to star the repository! Follow @textualizeio for Textual updates. |
These lines don't have effect:
For the options, I can use
select_widget.set_options([("Opt 3", 1)])
, but I can't change the prompt and it's quite inconvenientThe text was updated successfully, but these errors were encountered: