Skip to content

Widget AutocompleteTextField don't trigger state changes in decoration property. #85

@Cardoso-CHM

Description

@Cardoso-CHM

My AutocompleteTextField widget doesn't changes after some code inside decoration property changes (after setState() is called in other widget).

My hintText is not changing after the variable "nextSub" change it's value.
My errorText is not changing when variable "_hasError" becomes true.

I don't know if its something about the GlobalKey or maybe is missing some setState inside the class bellow:

Link for better visualization of code: https://pastebin.com/Y2Qkwu71

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions