Skip to content

Commit c55c0c3

Browse files
committed
v1.1.0
1 parent e53778d commit c55c0c3

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,4 +43,9 @@
4343
* Minor improvements to documentation, added known issues section too
4444

4545
## [1.0.2] - 7-Nov-2018
46-
* Fixed bug in (un)selecting checkbox list using by clicking its label
46+
* Fixed bug in (un)selecting checkbox list using by clicking its label
47+
48+
## [1.1.0] - 19-Nov-2018
49+
* Fixed bug where validation not working for fields outside screen (when using ListView) - [Flutter Issue #17385](https://github.com/flutter/flutter/issues/17385)
50+
* Added InputDecoration for all custom FormFields
51+

lib/src/form_builder.dart

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ class _FormBuilderState extends State<FormBuilder> {
9797
hintText: formControl.hint,
9898
helperText: formControl.hint,
9999
),
100-
initialValue: formControl.value != null ? "${formControl.value}" : '',
100+
initialValue:
101+
formControl.value != null ? "${formControl.value}" : '',
101102
maxLines: formControl.type == FormBuilderInput.TYPE_MULTILINE_TEXT
102103
? 5
103104
: 1,

lib/src/form_builder_input.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ class FormBuilderInput {
199199
this.require = false,
200200
this.validator,
201201
}) : assert(value == null || value is bool,
202-
"Initial value for a switch should be boolean") {
202+
"Initial value for a switch should be boolean") {
203203
type = FormBuilderInput.TYPE_SWITCH;
204204
}
205205

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 components such as TextField (With number, url, email validation), DropDown, TypeAhead, Radios, Checkboxes
3-
version: 1.0.2
3+
version: 1.1.0
44
author: Danvick Miller <[email protected]>
55
homepage: https://github.com/danvick/flutter_form_builder
66

0 commit comments

Comments
 (0)