Releases: flutter-form-builder-ecosystem/flutter_form_builder
Releases · flutter-form-builder-ecosystem/flutter_form_builder
4.0.1
4.0.0
IMPROVEMENTS:
- New fields:
FormBuilderFilePicker
,FormBuilderSearchableDropdown
,FormBuilderCheckboxGroup
- Localization of validation error texts
- Added external validation. Setting
InputDecoration.errorText
which invalidates the field. - New validators:
FormBuilderValidators.integer
,FormBuilderValidators.equal
- Improved programmatically changing field values.
- Add to
FormBuilderField.onReset
callback - 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
skipReadOnly
field. - Number of Chips to be selected in FilterChip can now be limited by setting
maxChips
attribute. 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
border
forFormBuilderSignaturePad
- 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
enabled
andinitialValue
at 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
updateFormAttributeValue
tosetInternalAttributeValue
to avoid confusion
BREAKING CHANGES:
- Renamed
attribute
option in all fields toname
- Done away with
validators
attribute, use normalvalidator
. UseFormBuilderValidators.compose()
to compose multipleFormFieldValidator
s into one - Attribute
readOnly
replaced byenabled
- this was done to match Flutter'sFormField
naming convention - Renamed
FormBuilderRate
toFormBuilderRating
- 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
GroupedCheckbox
not disabled when read only - Added phone validation and fixed
initialValue
parsing - Fix
Image.memory
throwing error when value isnull
v3.13.5
v3.13.4
v3.13.3
v3.13.2
- Added
defaultImage
attribute toFormBuilderImagePicker
, acts as placeholder. Courtesy luwenbin8023 - Fix bug in
FormBuilderCheckboxGroup
whereInputDecoration
isn'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.numeric
if valueCandidate isnull
- Renamed
pattern
validator tomatch
. - Rename
requireTrue
validator toequal
to allow equality check with other types. Closes #397 - Fix bug in parsing phone number from
FormBuilderPhoneField.initialValue