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
Set the dropdown to be disabled, but the color is normal
Code example to reproduce the issue:
import flet as ft def main(page: ft.Page): drop = ft.Dropdown( label="disabled but color is wrong", options=[ft.dropdown.Option(str(i)) for i in range(3)]) text = ft.TextField(value="disabled", disabled=True) drop1 = ft.Dropdown( label="disabled set color gray", options=[ft.dropdown.Option(str(i)) for i in range(3)], disabled=True, border_color=ft.colors.GREY_300, label_style=ft.TextStyle(color=ft.colors.GREY_400)) drop.disabled = True page.add(drop) page.add(text) page.add(drop1) if __name__ == '__main__': ft.app(target=main, name="index", host='0.0.0.0', port=37876, view=ft.WEB_BROWSER)
**Describe the results you received: the color of the first control named drop isnot gray **
Describe the results you expected:all controls are gray, including the control named drop
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (pip show flet):
pip show flet
flet 0.21.2 flet-core 0.21.2 flet-runtime 0.21.2
Give your requirements.txt file (don't pip freeze, instead give direct packages):
requirements.txt
pip freeze
(The requirements)
Operating system: MacOS
Additional environment details:
The text was updated successfully, but these errors were encountered:
InesaFitsner
Successfully merging a pull request may close this issue.
Set the dropdown to be disabled, but the color is normal
Code example to reproduce the issue:
**Describe the results you received:
the color of the first control named drop isnot gray
**
Describe the results you expected:all controls are gray, including the control named drop
Additional information you deem important (e.g. issue happens only occasionally):
Flet version (
pip show flet
):Give your
requirements.txt
file (don'tpip freeze
, instead give direct packages):Operating system: MacOS
Additional environment details:
The text was updated successfully, but these errors were encountered: