We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
OptionList.add_options
Previously this code:
from textual.app import App, ComposeResult from textual.widgets import OptionList class OptionListBugApp(App[None]): def compose(self) -> ComposeResult: yield OptionList() def on_mount(self) -> None: self.query_one(OptionList).add_options(f"Option {n}" for n in range(100)) if __name__ == "__main__": OptionListBugApp().run()
would result in a populated OptionList. As of v2.0.0 it now results in an unpopulated OptionList.
OptionList
The text was updated successfully, but these errors were encountered:
Don't forget to star the repository!
Follow @textualizeio for Textual updates.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Previously this code:
would result in a populated
OptionList
. As of v2.0.0 it now results in an unpopulatedOptionList
.The text was updated successfully, but these errors were encountered: