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

Getter of values not working #85

Closed
cacianokroth opened this issue Jun 27, 2019 · 4 comments
Closed

Getter of values not working #85

cacianokroth opened this issue Jun 27, 2019 · 4 comments

Comments

@cacianokroth
Copy link

cacianokroth commented Jun 27, 2019

When I give a _fbKey.current State.value the value is empty!
I noticed that the values ​​of the _value variable are never changed.

  void setAttributeValue(String attribute, dynamic value) {
    if (_fieldKeys[attribute] != null) {
      print("Trying to change value for $attribute to $value");
      _fieldKeys[attribute].currentState.didChange(value);
      print(_fieldKeys[attribute].currentState.value);
    }
  }

***** Looks like this line is missing ********

_value[attribute] = _fieldKeys[attribute].currentState.value;

@jasonlaw
Copy link

I am encountering the same problem here!

@freddydrodev
Copy link

Me too I had to downgrade to version flutter_form_builder: 3.2.0. I have deleted the build folder and android/.gradle too and sync data using android studio

@eltonmorais
Copy link

Sent a pull request to solve that. Was with the same issue here.

@danvick
Copy link
Collaborator

danvick commented Jul 3, 2019

Sorry guys - been having quite a hectic couple of days.
Thanks @eltonmorais for the PR, I'm just gonna merge and publish without looking.
I trust you ;-)

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

No branches or pull requests

5 participants