|
| 1 | +## [4.0.0] - 23-Nov-2020 |
| 2 | +**IMPROVEMENTS**: |
| 3 | +* New fields: `FormBuilderFilePicker`, `FormBuilderSearchableDropdown`, `FormBuilderCheckboxGroup` |
| 4 | +* Localization of validation error texts |
| 5 | +* Added external validation. Setting `InputDecoration.errorText` which invalidates the field. |
| 6 | +* New validators: `FormBuilderValidators.integer`, `FormBuilderValidators.equal` |
| 7 | +* Improved programmatically changing field values. |
| 8 | +* Add to `FormBuilderField.onReset` callback - to enable reaction to resetting by changing the UI to reflect reset |
| 9 | +* Add option to remove disabled field values from the final form value using `skipReadOnly` field. |
| 10 | +* Number of Chips to be selected in FilterChip can now be limited by setting `maxChips` attribute. Closes #500 |
| 11 | +* Use localized text for OK and CANCEL button labels for ColorPicker dialog |
| 12 | +* For default DateTimePicker format, use localized DateTime formats |
| 13 | +* Added option for user to set own `border` for `FormBuilderSignaturePad` |
| 14 | +* Improvements to example: break down to several pages; also show code in example app |
| 15 | + |
| 16 | +**FIXES**: |
| 17 | +* RadioGroup and CheckboxGroup labels not wrapping in vertical mode. Fixes #474 |
| 18 | +* Allow changing `enabled` and `initialValue` at runtime. Closes #515 |
| 19 | +* Hide floating label if field is empty |
| 20 | +* Fixed bug in DateRangePicker where user can just pick one date |
| 21 | +* ColorPicker, DateRangePicker, DateTimePicker - set TextField readOnly to true. Prevents keyboard popup |
| 22 | +* Fixed label overflows in RadioGroup & CheckboxGroup fields |
| 23 | +* Renamed `updateFormAttributeValue` to `setInternalAttributeValue` to avoid confusion |
| 24 | + |
| 25 | +**BREAKING CHANGES**: |
| 26 | +* Renamed `attribute` option in all fields to `name` |
| 27 | +* Done away with `validators` attribute, use normal `validator`. Use `FormBuilderValidators.compose()` to compose multiple `FormFieldValidator`s into one |
| 28 | +* Attribute `readOnly` replaced by `enabled` - this was done to match Flutter's `FormField` naming convention |
| 29 | +* Renamed `FormBuilderRate` to `FormBuilderRating` |
| 30 | +* Renamed `FormBuilderValidators.IP()` to `FormBuilderValidators.ip()` |
| 31 | +* Removed CountryPicker field because of limited use. Replaced with SearchableDropdown with similar functionality but not only limited to countries. |
| 32 | +* Use signature: ^3.0.0 package instead of self-maintained - comes with breaking changes. |
| 33 | + |
1 | 34 | ## [4.0.0-pre.9] - 22-Nov-2020
|
2 | 35 | * Upgraded to latest `file_picker` - adds `withReadStream` option for processing large files
|
3 | 36 | * Fixed issue where `initialValue` working on SignaturePad
|
|
0 commit comments