Skip to content

Commit 81ef6b2

Browse files
committed
Further improvements to v2 docs
1 parent 2c612a5 commit 81ef6b2

File tree

2 files changed

+19
-18
lines changed

2 files changed

+19
-18
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ state of the form enabling saving and resetting. Similar to using Flutter's `For
99
* Fixed bug where readonly not working to Date, Time and DateTime Pickers
1010

1111
### Breaking Changes
12-
* Removed reset/submit buttons, access form state using a `GlobalKey<FormBilderState>`
12+
* Removed reset/submit buttons and corresponding attributes: `showResetButton`, `resetButtonContent`
13+
Access form state using a `GlobalKey<FormBilderState>`
1314
* Removed `label` and `hint` attributes to be replaced by `decoration`
1415

1516

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ SingleChildScrollView(
2424
FormBuilder(
2525
context,
2626
key: _fbKey,
27-
autovalidate: autoValidate,
28-
readonly: readOnly,
27+
autovalidate: true,
28+
readonly: false,
2929
/*onChanged: (formValue) {
3030
print(formValue);
3131
},*/
@@ -293,21 +293,21 @@ SingleChildScrollView(
293293

294294
## TODO:
295295
### Improvements
296-
[ ] Improve documentation by showing complete list of input types and their usage and options
297-
[ ] Assert no duplicates in `FormBuilderInput`s `attribute` names
298-
[ ] Allow options for Checkboxes and Radios to appear left or right
299-
[ ] Allow addition of custom input types
300-
[ ] Proper validation for URL - does not work without protocol - http(s)
296+
- [ ] Improve documentation by showing complete list of input types and their usage and options
297+
- [ ] Assert no duplicates in `FormBuilderInput`s `attribute` names
298+
- [ ] Allow options for Checkboxes and Radios to appear left or right
299+
- [ ] Allow addition of custom input types
300+
- [ ] Proper validation for URL - does not work without protocol - http(s)
301301

302-
### FormBuilderInputs
303-
[X] SignaturePad
304-
[ ] MapInput
305-
[ ] ImagePicker
306-
[ ] DocumentPicker
307-
[ ] RangeSlider - https://pub.dartlang.org/packages/flutter_range_slider
308-
[ ] ColorPicker - https://pub.dartlang.org/packages/flutter_colorpicker
309-
[ ] DateRangePicker - https://pub.dartlang.org/packages/date_range_picker
310-
[ ] CodeInput - https://pub.dartlang.org/packages/code_input#-readme-tab- (Not Important)
311-
[ ] MaskedText - https://pub.dartlang.org/packages/flutter_masked_text#-changelog-tab- (Not Important)
302+
### New FormBuilder inputs
303+
- [X] SignaturePad
304+
- [ ] MapInput
305+
- [ ] ImagePicker
306+
- [ ] DocumentPicker
307+
- [ ] RangeSlider - https://pub.dartlang.org/packages/flutter_range_slider
308+
- [ ] ColorPicker - https://pub.dartlang.org/packages/flutter_colorpicker
309+
- [ ] DateRangePicker - https://pub.dartlang.org/packages/date_range_picker
310+
- [ ] CodeInput - https://pub.dartlang.org/packages/code_input#-readme-tab- (Not Important)
311+
- [ ] MaskedText - https://pub.dartlang.org/packages/flutter_masked_text#-changelog-tab- (Not Important)
312312

313313

0 commit comments

Comments
 (0)