We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 572c1a3 commit 8308eccCopy full SHA for 8308ecc
lib/src/form_builder.dart
@@ -36,7 +36,7 @@ class FormBuilderState extends State<FormBuilder> {
36
37
Map<String, dynamic> _value;
38
39
- Map<String, dynamic> get value => {...widget.initialValue ?? {}, ..._value};
+ Map<String, dynamic> get value => {...(widget.initialValue ?? {}), ..._value};
40
41
Map<String, dynamic> get initialValue => widget.initialValue;
42
@@ -58,9 +58,7 @@ class FormBuilderState extends State<FormBuilder> {
58
}
59
60
void setAttributeValue(String attribute, dynamic value) {
61
- setState(() {
62
- _value[attribute] = value;
63
- });
+ _fieldKeys[attribute]?.currentState?.didChange(value);
64
65
66
registerFieldKey(String attribute, GlobalKey key) {
0 commit comments