-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Updating text and calling refresh for Entry doesn't work #607
Comments
You can and probably should use method SetText/1 and not use directly setting value for Text field in that case your code work as expected. I can reproduce the behavior and it seems that Refresh/0 doesn't call refresh for inner textProvider as it happens in SetText/1 method. |
Text, as with other properties, is available to developers who want to change data without refreshing (like 4 things should be changed and you don’t want to cause 4 refreshes). This is a valid bug and the use case should be supported. |
on release/v1.2.2 for testing |
Looks like the fix does what it is supposed to do. Good job 👍 |
Describe the bug
When updating the .Text var for Entry and then calling .Refresh() for that widget, nothing happens.
To Reproduce
Steps to reproduce the behaviour:
yourWidgetName.Text = "something"
.yourWidgetName.Refresh()
afterwords.Example code:
Device (please complete the following information):
The text was updated successfully, but these errors were encountered: