Releases: flutter-form-builder-ecosystem/flutter_form_builder
Releases · flutter-form-builder-ecosystem/flutter_form_builder
4.0.0
IMPROVEMENTS:
- New fields:
FormBuilderFilePicker,FormBuilderSearchableDropdown,FormBuilderCheckboxGroup - Localization of validation error texts
- Added external validation. Setting
InputDecoration.errorTextwhich invalidates the field. - New validators:
FormBuilderValidators.integer,FormBuilderValidators.equal - Improved programmatically changing field values.
- Add to
FormBuilderField.onResetcallback - to enable reaction to resetting by changing the UI to reflect reset - Add option to remove disabled field values from the final form value using
skipReadOnlyfield. - Number of Chips to be selected in FilterChip can now be limited by setting
maxChipsattribute. Closes #500 - Use localized text for OK and CANCEL button labels for ColorPicker dialog
- For default DateTimePicker format, use localized DateTime formats
- Added option for user to set own
borderforFormBuilderSignaturePad - Improvements to example: break down to several pages; also show code in example app
FIXES:
- RadioGroup and CheckboxGroup labels not wrapping in vertical mode. Fixes #474
- Allow changing
enabledandinitialValueat runtime. Closes #515 - Hide floating label if field is empty
- Fixed bug in DateRangePicker where user can just pick one date
- ColorPicker, DateRangePicker, DateTimePicker - set TextField readOnly to true. Prevents keyboard popup
- Fixed label overflows in RadioGroup & CheckboxGroup fields
- Renamed
updateFormAttributeValuetosetInternalAttributeValueto avoid confusion
BREAKING CHANGES:
- Renamed
attributeoption in all fields toname - Done away with
validatorsattribute, use normalvalidator. UseFormBuilderValidators.compose()to compose multipleFormFieldValidators into one - Attribute
readOnlyreplaced byenabled- this was done to match Flutter'sFormFieldnaming convention - Renamed
FormBuilderRatetoFormBuilderRating - Renamed
FormBuilderValidators.IP()toFormBuilderValidators.ip() - Removed CountryPicker field because of limited use. Replaced with SearchableDropdown with similar functionality but not only limited to countries.
- Use signature: ^3.0.0 package instead of self-maintained - comes with breaking changes.
4.0.0-pre.8
- Added enabled attribute to FormBuilder to allow disabling the whole form
- Passed FocusNode through to super class. Also removed listeners when added.
v3.13.6
- Fixed bug in DateRangePicker where user can just pick one date. Closes #434
- Fix bug where FormBuilderCheckboxGroup value set to widget.initialValue. Closes #467
- Prevent events from happening while picking image with ImagePicker
- Added null check for val in onSaved and validator
- Fix
GroupedCheckboxnot disabled when read only - Added phone validation and fixed
initialValueparsing - Fix
Image.memorythrowing error when value isnull
v3.13.5
v3.13.4
v3.13.3
v3.13.2
- Added
defaultImageattribute toFormBuilderImagePicker, acts as placeholder. Courtesy luwenbin8023 - Fix bug in
FormBuilderCheckboxGroupwhereInputDecorationisn't enabled. Closes #405 - Fix issue where form's initialValue would potentially be ignored. Fixes #341
v4.0.0-beta.1
- Flutter v1.20 improvements
- Fix bug in
FormBuilderValidators.numericif valueCandidate isnull - Renamed
patternvalidator tomatch. - Rename
requireTruevalidator toequalto allow equality check with other types. Closes #397 - Fix bug in parsing phone number from
FormBuilderPhoneField.initialValue