Skip to content

Commit 7c8fa94

Browse files
committed
Bumped up flutter_chips_input version. Contains major fix
1 parent 4bec9e8 commit 7c8fa94

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [3.11.1] - 15-Jun-2020
2+
* Bumped up flutter_chips_input version. Contains major fix
3+
* Fixed bug preventing use of non-String value for `FormBuilderTypeAhead`.
4+
15
## [3.11.0] - 14-Jun-2020
26
* Added `FormBuilderRadioGroup` field
37
* Revised ImageSourceSheet to use the new Image Picker api, and added support for web platform.

lib/src/fields/form_builder_phone_field.dart

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ class FormBuilderPhoneFieldState extends State<FormBuilderPhoneField> {
126126
bool _readOnly = false;
127127
TextEditingController _effectiveController = TextEditingController();
128128
FocusNode _focusNode;
129-
FocusNode get _effectiveFocusNode => widget.focusNode ?? (_focusNode ?? FocusNode());
129+
FocusNode get _effectiveFocusNode =>
130+
widget.focusNode ?? (_focusNode ?? FocusNode());
130131
FormBuilderState _formState;
131132
final GlobalKey<FormFieldState> _fieldKey = GlobalKey<FormFieldState>();
132133
String _initialValue;
@@ -209,7 +210,8 @@ class FormBuilderPhoneFieldState extends State<FormBuilderPhoneField> {
209210
return TextField(
210211
enabled: !_readOnly,
211212
style: widget.style,
212-
focusNode: _readOnly ? AlwaysDisabledFocusNode() : _effectiveFocusNode,
213+
focusNode:
214+
_readOnly ? AlwaysDisabledFocusNode() : _effectiveFocusNode,
213215
decoration: widget.decoration.copyWith(
214216
enabled: !_readOnly,
215217
errorText: field.errorText,

pubspec.yaml

Lines changed: 2 additions & 2 deletions
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.11.0
3+
version: 3.11.1
44
homepage: https://github.com/danvick/flutter_form_builder
55

66
environment:
@@ -12,7 +12,7 @@ dependencies:
1212

1313
flutter_typeahead: ^1.8.3
1414
intl: ^0.16.1
15-
flutter_chips_input: ^1.8.2
15+
flutter_chips_input: ^1.8.3
1616
datetime_picker_formfield: ^1.0.0
1717
flutter_colorpicker: ^0.3.4
1818
signature: ^3.1.1

0 commit comments

Comments
 (0)