Skip to content

Commit 90bf8d4

Browse files
committed
Fixed issue of fileds losing focus on v2.0.0
1 parent 1ac661f commit 90bf8d4

File tree

6 files changed

+804
-804
lines changed

6 files changed

+804
-804
lines changed

.idea/workspace.xml

Lines changed: 97 additions & 78 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [2.0.1] - 26-March-2019
2+
* Fixed bug where fields keep losing focus
3+
14
## [2.0.0] - 25-March-2019
25
### New Features and fixes
36
* New attribute `decoration` for `FormBuilderInput`. Enables one to customize `InputDecoration` like icons, labelStyles etc

README.md

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,17 +118,6 @@ SingleChildScrollView(
118118
require: true,
119119
// readonly: true,
120120
min: 3,
121-
onChanged: (newVal) {
122-
print(newVal);
123-
print(_fbKey.currentState
124-
.findFieldByAttribute("story")
125-
.currentState
126-
.value);
127-
_fbKey.currentState
128-
.findFieldByAttribute("story")
129-
.currentState
130-
.didChange(newVal);
131-
}),
132121
FormBuilderInput.dropdown(
133122
attribute: "dropdown",
134123
// require: true,

example/lib/main.dart

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ class MyHomePageState extends State<MyHomePage> {
405405
require: true,
406406
// readonly: true,
407407
min: 3,
408-
onChanged: (newVal) {
408+
/*onChanged: (newVal) {
409409
print(newVal);
410410
print(_fbKey.currentState
411411
.findFieldByAttribute("story")
@@ -415,7 +415,8 @@ class MyHomePageState extends State<MyHomePage> {
415415
.findFieldByAttribute("story")
416416
.currentState
417417
.didChange(newVal);
418-
}),
418+
}*/
419+
),
419420
FormBuilderInput.dropdown(
420421
attribute: "dropdown",
421422
// require: true,

0 commit comments

Comments
 (0)