Skip to content
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

Tooltip object displays wrong message on IconButton #3920

Closed
ndonkoHenri opened this issue Sep 2, 2024 Discussed in #3913 · 1 comment · Fixed by #3922
Closed

Tooltip object displays wrong message on IconButton #3920

ndonkoHenri opened this issue Sep 2, 2024 Discussed in #3913 · 1 comment · Fixed by #3922
Assignees
Labels
bug Something isn't working enhancement Improvement/Optimization

Comments

@ndonkoHenri
Copy link
Contributor

Discussed in #3913

Originally posted by mvwilpe September 1, 2024
IconButon double quotes strings around tooltip.
When provided as string tooltip="This is the tooltip" this is displayed as "This is the tooltip"
When provided as Tooltip object: Tooltip(message="Another tooltip") this is displayed as {"message": "Another tooltip"}

It seems that - at least for the IconButton - the the json converted value of tooltip is displayed regardless whether is provided as string or as Tooltip object.
Textbutton does not have this problem (I've not tried other type of controls)

@ndonkoHenri ndonkoHenri self-assigned this Sep 2, 2024
@ndonkoHenri ndonkoHenri added bug Something isn't working enhancement Improvement/Optimization labels Sep 2, 2024
@ndonkoHenri ndonkoHenri moved this from 🆕 New to 🏗 In progress in Flet Development Sep 2, 2024
@ndonkoHenri ndonkoHenri moved this from 🏗 In progress to 👀 In review in Flet Development Sep 2, 2024
@github-project-automation github-project-automation bot moved this from 👀 In review to ✅ Done in Flet Development Sep 2, 2024
@ndonkoHenri
Copy link
Contributor Author

Issue has been fixed. Install the latest prerelease to try it: pip install flet -U --pre

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement Improvement/Optimization
Projects
Archived in project
1 participant