Skip to content

Commit 0de64e5

Browse files
committed
Fixed Stack Overflow bug in setAttributeValue function
1 parent 03cd9c8 commit 0de64e5

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [3.2.5] - 05-Jul-2019
2+
* Fixed Stack Overflow bug in `setAttributeValue` function
3+
14
## [3.2.4] - 03-Jul-2019
25
* Fixed issue in saving form attribute values - Credit [Caciano Kroth](https://github.com/cacianokroth) & [eltonmorais](https://github.com/eltonmorais)
36

lib/src/form_builder.dart

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,6 @@ class FormBuilderState extends State<FormBuilder> {
5555

5656
void setAttributeValue(String attribute, dynamic value) {
5757
if (_fieldKeys[attribute] != null) {
58-
print("Trying to change value for $attribute to $value");
59-
_fieldKeys[attribute].currentState.didChange(value);
60-
print(_fieldKeys[attribute].currentState.value);
6158
_value[attribute] = _fieldKeys[attribute].currentState.value;
6259
}
6360
}

pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: flutter_form_builder
22
description: Package to build Material Form with fields like TextField, DropDown, Switches etc. with ability to create custom FormFields and composability and reuse validation functions.
3-
version: 3.2.4
3+
version: 3.2.5
44
author: Danvick Miller <[email protected]>
55
homepage: https://github.com/danvick/flutter_form_builder
66

0 commit comments

Comments
 (0)