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
Can't change the text of widget.FormItem Which object should I call Refresh on?
Steps to reproduce the behaviour:
package main import ( "fyne.io/fyne/app" "fyne.io/fyne/widget" ) func main() { application := app.New() window := application.NewWindow("") item := widget.NewFormItem("foo", widget.NewEntry()) form := widget.NewForm(item) button := widget.NewButton("change", func() { item.Text = "bar" item.Widget.Refresh() form.Refresh() window.Content().Refresh() }) window.SetContent(widget.NewVBox( button, form, )) window.ShowAndRun() }
The text was updated successfully, but these errors were encountered:
it should be Form.Refresh() - it looks like we missed it.
Form.Refresh()
Sorry, something went wrong.
Reflect changes in form label after first render
6274ca6
Fixes #1231
In release/v1.3.3 branch for testing, should go out this week.
release/v1.3.3
No branches or pull requests
Describe the bug:
Can't change the text of widget.FormItem
Which object should I call Refresh on?
To Reproduce:
Steps to reproduce the behaviour:
Example code:
Device :
The text was updated successfully, but these errors were encountered: