Skip to content

Commit dcdb31b

Browse files
committed
Removed ChipsInput from library, moved to separate library on pub
1 parent dd77bb6 commit dcdb31b

File tree

9 files changed

+156
-504
lines changed

9 files changed

+156
-504
lines changed

.idea/libraries/Dart_Packages.xml

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

.idea/workspace.xml

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

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ FormBuilder(
171171
),
172172
]),
173173
],
174-
onChanged: () {
175-
print("Form Changed");
174+
onChanged: (currentFormData) {
175+
print(currentFormData);
176176
},
177177
onSubmit: (formValue) {
178178
if (formValue != null) {
@@ -186,13 +186,15 @@ FormBuilder(
186186

187187
## TODO:
188188
* Improve documentation by showing complete list of input types and their usage and options
189+
* Assert no duplicates in `FormBuilderInput`s `attribute` names
189190
* Add more `FormBuilderInput` types:
190191
* RangeSlider
191192
* ColorPicker
192193
* MaskedText
194+
* Allow options for Checkboxes and Radios to appear left or right
195+
* Allow addition of custom input types
196+
* Fire `onChanged()` on every control allowing reaction to changes
193197

194198
## KNOWN ISSUES - HELP NEEDED (Send help ;-P)
195199
* Proper validation for URL [doesn't work without http(s)]
196-
* Overlay for ChipsInput doesn't move when input height changes i.e. when chips wrap
197-
* For some reason Overlay for ChipsInput floats above AppBar when scrolling
198200

lib/flutter_form_builder.dart

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
library flutter_form_builder;
22

3-
export './src/chips_input.dart';
43
export './src/form_builder.dart';
54
export './src/form_builder_input.dart';
65
export './src/form_builder_input_option.dart';

0 commit comments

Comments
 (0)