Skip to content

Comments

refresh _labelController after _handleControllerChanged#17

Open
dumabg wants to merge 1 commit intom3uzz:masterfrom
dumabg:bug_handleControllerChanged
Open

refresh _labelController after _handleControllerChanged#17
dumabg wants to merge 1 commit intom3uzz:masterfrom
dumabg:bug_handleControllerChanged

Conversation

@dumabg
Copy link

@dumabg dumabg commented Dec 28, 2021

If the SelectFromField text value is changed by code with a controller, it doesn't reflect the new value in the TextField. This happens because _labelController isn't updated.
_labelController must updated on _handleControllerChanged().

@hslbetto
Copy link
Member

Sorry, I didan't get the specific use case of this issue.
For me, when i try to change the value of the select_form_field using controller or initialvalue, it work fine
The same job of your commit is did on didUpdateWidget method.
Now the job is duplicated. Unless that have some specific use case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants