Skip to content

Releases: flutter-form-builder-ecosystem/flutter_form_builder

4.0.1

24 Nov 17:20
Compare
Choose a tag to compare
  • Fixed bug where FormBuilderField couldn't be used to create custom fields
  • Corrected documentation for equal validator

4.0.0

23 Nov 18:40
Compare
Choose a tag to compare

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 for FormBuilderSignaturePad
  • 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 and initialValue 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 to setInternalAttributeValue to avoid confusion

BREAKING CHANGES:

  • Renamed attribute option in all fields to name
  • Done away with validators attribute, use normal validator. Use FormBuilderValidators.compose() to compose multiple FormFieldValidators into one
  • Attribute readOnly replaced by enabled - this was done to match Flutter's FormField naming convention
  • Renamed FormBuilderRate to FormBuilderRating
  • Renamed FormBuilderValidators.IP() to FormBuilderValidators.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

21 Nov 14:10
Compare
Choose a tag to compare
4.0.0-pre.8 Pre-release
Pre-release
  • 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

25 Sep 19:33
Compare
Choose a tag to compare
  • 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 is null

v3.13.5

08 Sep 10:47
Compare
Choose a tag to compare
  • Fixed bug in DateRangePicker where onChanged fires before change. Closes #434
  • Use app's locale for default DateTimePicker display formatting
  • Update to latest flutter_chips_input. Fixes #415

v3.13.4

27 Aug 09:14
Compare
Choose a tag to compare
  • Fixed bug where CountryPicker.onSaved breaks if value is null
  • Fixed bug where initialValue not saved
  • Fix for label overflows in RadioGroup & CheckboxGroup
  • Upgrade to latest flutter_chips_input. Fixes bugs in Flutter pre-release channels

v3.13.3

22 Aug 04:26
Compare
Choose a tag to compare
  • Fix bug where CountryPicker still works in readOnly. Closes #413
  • Fixed bug where onChanged is not fired in CountryPicker. Closes #424
  • Allow null initialValue for CountryPicker. Closes #421
  • Minor improvements for ImagePicker on web platform. Closes #414
  • Added video tutorial reference to README

v3.13.2

11 Aug 14:05
Compare
Choose a tag to compare
  • Added defaultImage attribute to FormBuilderImagePicker, acts as placeholder. Courtesy luwenbin8023
  • Fix bug in FormBuilderCheckboxGroup where InputDecoration isn't enabled. Closes #405
  • Fix issue where form's initialValue would potentially be ignored. Fixes #341

v4.0.0-beta.1

08 Aug 21:14
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release
  • Flutter v1.20 improvements
  • Fix bug in FormBuilderValidators.numeric if valueCandidate is null
  • Renamed pattern validator to match.
  • Rename requireTrue validator to equal to allow equality check with other types. Closes #397
  • Fix bug in parsing phone number from FormBuilderPhoneField.initialValue

v3.13.1

08 Aug 07:36
Compare
Choose a tag to compare
  • Added default value to timePickerInitialEntryMode to be consistent with showTimePicker API. Closes #403
  • Ensure TextEditingControllers aren't unused and are properly disposed.
  • Use latest version of flutter_chips_input with fix for "Bad UTF-8 found..."