flutter_form_builder_hoc081098_patch 5.2.0
flutter_form_builder_hoc081098_patch: ^5.2.0 copied to clipboard
This package helps in creation of forms in Flutter by removing the boilerplate code, reusing validation, react to changes, and collect final user input.
Fork from https://github.com/danvick/flutter_form_builder #
5.2.0 30-May-2021 #
- Fix FormBuilderSearchableDropdown decoration.
5.1.0 21-May-2021 #
- NNBD
5.0.0 24-Mar-2020 #
- Flutter 2.* support
4.2.0 29-Dec-2020 #
- Added support for Slovak (sk) - @cek-cek
BREAKING CHANGES:
- Removed file picker field from package - moved to form_builder_file_picker package.
- Removed image picker field from package - moved to form_builder_image_picker package.
- Removed phone field field from package - moved to form_builder_phone_field package.
4.1.0 18-Dec-2020 #
- Added support for Portuguese (pt)
- Added support for Japanese (ja)
- Added
FormBuilderValidators.notEqualvalidator - Fix bug in
RadioGroupwhere reset and didChange doesnt affect UI. Fixes #646, Fixes #647 - Image picker fix: Added null-safe spread operator for
field.value. Fixes #607 - Fixed focus issue in
ChipsInput - Fixed bug
SearchableDropdownwhere setting value programmatically does not update UI. Fixes #627 - Upgraded flutter_typeahead to 1.9.1.
4.0.2 27-Nov-2020 #
- Fixed issue in Typeahead field where didChange not call and onChanged fired. Closes #595
- Fixed issue where french not included in list of supported languages & translations not working. Closes #561
4.0.1 24-Nov-2020 #
- Fixed bug where
FormBuilderFieldcouldn't be used to create custom fields - Corrected documentation for equal validator
4.0.0 23-Nov-2020 #
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.9 22-Nov-2020 #
- Upgraded to latest
file_picker- addswithReadStreamoption for processing large files - Fixed issue where
initialValueworking on SignaturePad - Fixed issue where SignaturePad still accepts imput when
enabledis set tofalse - Attempted fixes to
FocusNodeleaks - Inline documentation and README improvements
4.0.0-pre.8 21-Nov-2020 #
- Added enabled attribute to FormBuilder to allow disabling the whole form
- Passed FocusNode through to super class. Also removed listeners when added.
4.0.0-pre.7 18-Nov-2020 #
- BREAKING CHANGE: Removed FormBuilderLocationField. Version 1 of form_builder_map_field to be used. Closes #491
4.0.0-pre.6 13-Nov-2020 #
- BREAKING CHANGE: Attribute
readOnlyreplaced byenabled- this was done to match Flutter'sFormFieldnaming convention - BREAKING CHANGE: To programatically set values use original
didChange()method instead ofpatchValue() - New validator for integer values
- Add option to remove
readOnlyfield values from the final form value usingskipReadOnlyfield. Closes #501 - RadioGroup and CheckboxGroup labels not wrapping in vertical mode. Fixes #474
- Allow changing
readOnlyandinitialValueat runtime. Closes #515 - Expanded the list of supported image file extensions to match Flutter's
- Fixed bug where email validator was returning match validator
errorText
4.0.0-pre.5 24-Oct-2020 #
- Number of Chips to be selected in FilterChip can now be limited by setting
maxChipsattribute. Closes #500 - After calling patchValue on TextField, take cursor to end of text. Closes #477
- Fix compile error in SearchableDropdown caused by breacking change in
dropdown_searchpackage. Closes #507 - Fixed bug: calling patchValue on DateTimePIcker doesn't update TextField. Closes #505
- Fixed regression in DateTimePicker where field didn't work. Closes #496
- Documentation improvements
4.0.0-pre.4 06-Oct-2020 #
- Added new field: FilePicker
- Included v3 to v4 migration guide to README
- Ensure options disabled for RadioGroup & CheckboxGroup if readOnly
- Prevent events from happening while picking image (#460)
- Use localized text for ok and cancel button labels for ColorPicker dialog
- Minor improvements and documentation added for LocationField
4.0.0-pre.3 02-Oct-2020 #
- Changed Version naming for release candidates from
-RC.*to-pre.*
4.0.0-RC.2 02-Oct-2020 #
- More documentation improvements
4.0.0-RC.1 02-Oct-2020 #
- Added compatibility for Flutter v1.22
- Documentation improvements
- hide floating label if field is empty
- Add default placeholder image for ImagePicker
- For default DateTimePicker format, use localized DateTime formats
- Fixed bug in DateRangePicker where user can just pick one date
- Fix bug in dropdown where setting enabled to false doesn't affect input. Closes #450
- Bumped flutter_chips_input from v1.9.3 to v1.9.4
- BREAKING CHANGE: Removed CountryPicker field because of limited use. Replaced with SearchableDropdown with similar functionality but not only limited to countries.
4.0.0-beta.5 05-Sep-2020 #
- Finished implementation of
FormBuilderSearchableDropdown. - Deprecated
FormBuilderCountryPicker- redundant due toFormBuilderSearchableDropdowninclusion.
4.0.0-beta.4 04-Sep-2020 #
- Fix for label overflows in Radio & Checkbox Groups
- Fixed bug in
FormBuilderDateRangePickerwhere if dialog dismissed, current value is cleared - Fix bug where changes from user defined
TextEditingControllerinFormBuilderTextFieldnot detected. Closes #448 - Improvements to documentation
4.0.0-beta.3 31-Aug-2020 #
- Fixed bug where validate() always returns true. Closes #440
4.0.0-beta.2 22-Aug-2020 #
- Added new field FormBuilderLocationField
- Use latest flutter_datetime_picker. Fixes
"Error: Type 'DiagnosticableMixin' not found". Closes #406 - Fixed bug where initialValue not set in DateTimePicker. Closes #425
- Fixed issue where equal validator yields required errorText
- Fixes to focus and focusNodes, check if field is touched.
4.0.0-beta.1 09-Aug-2020 #
- 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
4.0.0-alpha.9 05-Aug-2020 #
- Improved programmatically changing field values. Multiple fields can be updated once
- Fix conversion to double error in
FormBuilderRating - Removed redundant
FormBuilderRadioListandFormBuilderCheckboxListfields - Other minor fixes from v3 commits
4.0.0-alpha.8 23-Jul-2020 #
- Fixed erratic keyboard behavior on
FormBuilderTextField - Added documentation for
FormBuilder&FormBuilderFieldattributes - Fixed issue where
FormBuilderRadioGroupnot submitting value
4.0.0-alpha.7 22-Jul-2020 #
- Added new field -
FormBuilderCheckboxGroup. Closes #188, - New
FormBuilderRadioGroupimplementation similar toFormBuilderCheckboxGroup. Fixes issue whereFormBuilderFieldOption.childis ignored Closes #335 - Set FocusTraversalGroup policy
- Fixed bug where TextField where
initialValuefromFormBuilderis ignored. Closes #370
4.0.0-alpha.6 20-Jul-2020 #
- Added focusNode to all fields.
- Attempted tab/next support - work in progress
- Request Focus to Field when change is attempted.
- Include guide to programmatically inducing errors to README. Closes #123
- Fixed bug in Localization where
Locale.countrycCodeisnull. Closes #369 - Added more options to DatePicker for showDatePicker() Flutter function
- Rename
updateFormAttributeValuetosetInternalAttributeValueto avoid confusion
4.0.0-alpha.5 08-Jul-2020 #
- Improvements to dirty check for FormBuilderField - fixes autovalidate only when dirty
4.0.0-alpha.4 04-Jul-2020 #
- Added static getter for FormBuilderLocalizations delegate
- Fix issue where setting app localization is required for built-in validation to work
4.0.0-alpha.3 01-Jul-2020 #
- Localize validation error texts
- Dropped
country_pickerpackage forcountry_code_pickersin PhoneField which supports localized countries - Allow setting of
InputDecoration.errorTextwhich invalidates the field. Allows external validation like server validation - ColorPicker show Hexadecimal code in TextField instead of
Color.toString() - Do away with validators attribute, use normal validator instead of list of validators
- Added
FormBuilderValidators.compose()which composes multipleFormFieldValidators into one - ColorPicker, DateRangePicker, DateTimePicker - set TextField readOnly to true. Prevents keyboard popup
- Improvements to example: break down to several pages; also show code in example app
3.14.1 24-Oct-2020 #
- Remove phone number validation internally. Closes #499
- Include padding option for ChoiceChips. Closes #504
3.14.0 02-Oct-2020 #
- Added support for Flutter v1.22
3.14.0-alpha.4 30-Sep-2020 #
- Include changes made in v3.13.5 & v3.13.6
- Fix build for flutter >=1.21.0-9.1.pre
3.13.6 25-Sep-2020 #
- 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
3.13.5 08-Sep-2020 #
- Fixed bug in
DateRangePickerwhereonChangedfires before change. Closes #434 - Use app's locale for default DateTimePicker display formatting
- Update to latest
flutter_chips_input. Fixes #415
3.14.0-alpha.3 22-Aug-2020 #
- Include changes made in v3.13.4
3.13.4 27-Aug-2020 #
- Fixed bug where
CountryPicker.onSavedbreaks if value is null - Fixed bug where
initialValuenot saved - Fix for label overflows in
RadioGroup&CheckboxGroup - Upgrade to latest
flutter_chips_input. Fixes bugs in Flutter pre-release channels
3.14.0-alpha.2 22-Aug-2020 #
- Include changes made in v3.13.3
3.13.3 22-Aug-2020 #
- 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
3.14.0-alpha.1 11-Aug-2020 #
- Fixed
RangeSemanticFormatterCallbackerror. Changed field withSemanticFormatterCallback.
3.13.2 11-Aug-2020 #
- 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
3.13.1 08-Aug-2020 #
- Added default value to
timePickerInitialEntryModeto be consistent withshowTimePickerAPI. Closes #403 - Ensure
TextEditingControllers aren't unused and are properly disposed. - Use latest version of
flutter_chips_inputwith fix for "Bad UTF-8 found..."
3.13.0 06-Aug-2020 #
- Added support for Flutter v1.20
3.12.3 05-Aug-2020 #
- Fixed bug in parsing phone number from
FormBuilderPhoneField'sinitialValue - Added more TextField options:
toolbarOptions,smartQuotesType,smartDashesType,scrollPhysics,enableSuggestions - Fixed
onChangedbug on TextField
3.12.2 03-Aug-2020 #
- Convert FormBuilderRating value to double for RatingBar. Closes #392
3.12.1 03-Aug-2020 #
- Deprecate
FormBuilderRadioin favour ofFormBuilderRadioGroup - Deprecate
FormBuilderCheckboxin favour ofFormBuilderCheckboxGroup - Fix bug
"NoSuchMethodError: invalid member on null: 'initialValue'"when fields not wrapped inFormBuilder
3.12.0 24-Jul-2020 #
- Added new field
FormBuilderCheckboxGroup. Closes #188 - Removed
group_radio_buttonlibrary dependency, made own implementation with label fix. Closes #376, #335 - Add web support for ImagePicker. Courtesy of vin-fandemand
- Fixed bug where value within
TextEditingControllerignored inFormBuilderTypeahead
3.11.6 20-Jul-2020 #
- Upgraded dependencies
- Fixed error '
The getter 'initialValue' was called on null' if noFormBuilderStateancestry. Closes #364 - Fixed issue where DropdownButton
hintoverlaps withlabelText. Closes #372 - Fix '
initialEntryMode != null' assertion in DateTimePicker. Closes #373
3.11.5 17-Jul-2020 #
- Included more
showDatePickerfunction options - Fixed bug where
onChangednot triggered by ImagePicker. Closes #366 - Deprecate
underlinefor Dropdown. Ignored - Added more options for DropdownButton. Closes #153, #337
- Type
FormBuilderDropdownclass. Closes #360 - Included options to set camera and gallery icons and label. Closes #340
- Added
bottomSheetPaddingoption for ImagePicker. Closes #339
3.11.4 08-Jul-2020 #
- Added text styles options to Slider
- Re-implement number formatting on Slider field
- Fix bug in ChoiceChip & FilterChip where using FieldOption label instead of child breaks. Closes #348
- Added
labelPaddingandlabelStyleto ChoiceChip field - Fix SignaturePad initialValue.
3.11.3 21-Jun-2020 #
- Reverted changes to PhoneField causing focus issues
3.11.2 19-Jun-2020 #
- Deprecated
initialValuefor Signature field - here's no easy way of convertingUint8ListtoList<Point>. Use SignatureController to set initial signature - Added
displayValuesattribute to Slider and RangeSlider - choose which values to display under the slider
3.11.1 15-Jun-2020 #
- Bumped up flutter_chips_input version. Contains major fix
- Fixed bug preventing use of non-String value for
FormBuilderTypeAhead.
3.11.0 14-Jun-2020 #
- Added
FormBuilderRadioGroupfield - Revised ImageSourceSheet to use the new Image Picker api, and added support for web platform.
- Add
textAlignVerticalattribute option to FormBuilderTextField - Included additional configuration options to the FormBuilderImagePicker:
maxHeight,maxWidth,imageQuality,preferredCameraDevice&maxImages - Added
alwaysUse24HourFormatoption to DateTimePicker. Closes #297 - Revert focus to PhoneField TextField after country selected. Closes #302
- Validate PhoneField only if phone number has value, not country only
- Bumped up flutter_typeahead version. Contains keyboard visibility fix
- Bumped up flutter_chips_input version with multiple fixes and improvements.
- Show Country flag to PhoneField
3.10.1 17-May-2020 #
- Added delete icon on selected images in ImagePicker instead of non-intuitive long-press to delete. Closes #278
- Added contentPadding option to Checkbox, CheckboxList, Radio and Switch to allow spacing of items in list options. Closes #280
- Fix bug "The getter 'isNotEmpty' was called on null" in PhoneField
3.10.0 15-May-2020 #
- Added
FormBuilderCountryPickerandFormBuilderPhoneField. Good work by Furkan KURT - Set
readOnlyprop tofalsein ColorPicker, DateRangePicker & DateTimePicker TextFields - prevents keyboard popping up. Closes #210 - Fixed allowEmpty bug in
minLengthvalidator. Closes #259 - Allow user to set iconColor for ImagePicker due to issue with dark mode. Closes #268
- Use signature package instead of self-maintained Widget
- Use
ObjectKeys to enforce rebuild after reset - Added
decorationattribute to ImagePicker, deprecatedlabelText - Remove deprecation for
initialTime&initialDatein DateTimePicker
Unreleased #
- Add
contentPaddingto allListTile-based fields
4.0.0-alpha.2 06-May-2020 #
- All form reset issues are fixed - I hope ;-).
UniqueKey()used where necessary FormBuilderFieldto be used base to create custom fields. Removed unusedFormBuilderCustomField- Add to
FormBuilderField.onResetcallback - to enable user to react to resetting by changing the UI to reflect reset - Fixed bug where setting form-wide
readOnlyto true doesn't affect fields - On field reset, use calculated
initialValueinstead of widget provided since it may have been set by theFormBuilder - Use signature: ^3.0.0 package instead of self-maintained - comes with breaking changes.
- Added option for user to set own
borderforFormBuilderSignaturePad - Remove deprecation for
initialDateandinitialTimeforDateTimePicker- user may prefer to set own
4.0.0-alpha.1 04-May-2020 #
- Complete rewrite of package implementation
- Removed a few deprecations
- Renamed
FormBuilderRatetoFormBuilderRating
3.9.0 03-May-2020 #
- New field type
FormBuilderImagePickercourtesy of Gustavo Vítor - Switched rating package from sy_flutter_widgets to rating_bar with more configuration options
- Switched rating package from sy_flutter_widgets to rating_bar with more configuration options
- Added option to
showCheckmarkfor FormBuilderFilterChip, along with other options. Closes #260 - Added option to
allowEmptyinminLengthandmaxLengthvalidations. Closes #259 - Fixed bug where
locale,textDirection,useRootNavigator&buildernot passed down toshowDatePicker()andshowTimePicker() - Assert
initialValueisnullorcontrollerisnullforFormBuilderTextField. Closes #258
3.8.3 15-Apr-2020 #
- Fix bug where
onChangein FormBuilderDateTimePicker doesn't fire when field is cleared. Closes #254 - Fix
The method 'dispose' was called on null.issue in FormBuilderTypeAhead. Closes #256 - Bumped up flutter_chips_input to v1.8.0 from v1.7.0
3.8.2 27-Mar-2020 #
onTapcallback added toFormBuilderTextField- Link to form_builder_map_field added to README
- Improvements to README
3.8.1 09-Mar-2020 #
- Only enable corresponding TextField when ColorPicker is not readOnly
- Fixed bug where
FormBuilderTouchSpinaka Stepper not being disabled when in readOnly - Bumped up color_picker to 0.3.2, added new ColorPickerType -
SliderPicker - Export
flutter_typeaheadpackage so user gets accessTextFieldConfigurationclass - Deprecate
validatorattribute in FormBuilderDateTimePicker, onlyvalidatorsshould be used - When TimePicker is cancelled, return original value instead of null
- Fix bug where initialTime for TimePicker defaults to 12:00, use currentTime. Closes #234
3.8.0+1 17-Feb-2020 #
- Fix bug where Changing readOnly of
FormBuilderdoes not change readOnly ofFormBuilderDateTimePicker. Closes #179
3.8.0 12-Feb-2020 #
- NEW FIELD TYPES:
FormBuilderChoiceChip- Creates a chip that acts like a radio button. Courtesy Cesar FloresFormBuilderFilterChip- Creates a chip that acts like a checkbox. By Cesar Flores. Again!FormBuilderColorPickerwith help from BenjaminFormBuilderTouchSpinreplaced the confusingly namedFormBuilderStepperwhich is now deprecated.
- Fix some inconsistencies in controller and focus node disposal. Courtesy of Thomas Järvstrand. Should close #230
- Bumped up
flutter_typeaheadfrom1.7.0to1.8.0
3.7.3 15-Jan-2020 #
- Bumped up
intl,datetime_picker_formfield&flutter_chips_input. Closes #204, #207, #211, #215. - Fixed deprecation errors
3.7.2 10-Dec-2019 #
- Fix email validator: Trim white-space before validation
- Return Form's value state with all fields defined in initialValue
3.7.1 6-Dec-2019 #
- Use
numforFormBuilderStepperinstead ofdoubleto allow for eitherintordouble
3.7.0 5-Dec-2019 #
- Included
onSavedcallback to all fields. Closes #175 - Added
Keyoption to all fields to make testing possible - Fixed bug where custom controller not working in TypeAhead. Closes #144
- Fix issue where
FormBuilderDateRangePickerignoresinitialFirstDateandinitialLastDate - Fixed bug where readOnly not working in FormBuilderDateTimePicker. Closes #179
- Allow double
valuesforFormBuilderStepper. Closes #182 - Only include clear icon next to DropdownButton if the value is not
null - Revert
intl, upgradeflutter_chips_input&datetime_picker_formfield- due incompatibilities. Closes #183, #185
3.6.1 6-Nov-2019 #
- Fixed bug caused by dropping unimplemented attribute
onChipTappedofflutter_chips_input. Closes #168
3.6.0 4-Nov-2019 #
- Added clear option to FormBuilderDropdown - set
allowClearto true. Closes #148 - Default
contentPaddingandborderattributes removed from CheckboxList, Radio and SegmentedControl list. Closes #160 - Added
numberFormatattribute to Slider. Closes #156 - Add error text to date range picker. Thanks to ffpetrovic
- Fixed bug where pushing cancel on timePicker causes crash. Thanks to ayushin
- Fixed bug where Switch doesn't obey initialValue from FormBuilder. Closes #159
- Fixed bug where FormBuilderDropdown shows value instead of label when disabled/readOnly. Closes #154
- Fixed bug where FormBuilderDateTimePicker value is parsed from TextField string. Closes #164
- Added default TextInputConfiguration options for ChipsInput
- Fix example project - AndroidX compatibility. Thanks to prasadsunny1
- Bumped up
flutter_typeahead1.6.1 -> 1.7.0
3.5.5 3-Oct-2019 #
- Bumped up
flutter_chips_inputversion from 1.3.1 to 1.5.1 - AndroidX migration for example app
3.5.4 16-Sep-2019 #
- Fix dependency mismatch for
intlwithflutter_localizationsfrom sdk - Bumped up
datetime_picker_formfielddependency version
3.5.3 11-Sep-2019 #
- Fixed DateTimePicker bug: '
DateTime is not a subtype of type TimeOfDay' when Input type is Time only. Closes #131
3.5.2 03-Sep-2019 #
- Re-introduced
onSuggestionSelectedoption in TypeAhead field
3.5.1 02-Sep-2019 #
- Hack to avoid manual editing of date - as is in DateTimeField library
3.5.0 30-Aug-2019 #
- NEW FIELD TYPE:
FormBuilderDateRangePicker - New method
saveAndValidatemethod toFormBuilder - Ability to use custom data types in TypeAhead field instead of just String
FormBuilderDateTimePickerfixes- Fixed bug where currently selected date is cleared when DateTimePicker dialog is shown
- Also fixed bug where currently selected date not used as initial date in DateTimePicker dialog
initialTimeandinitialDatedeprecated - brings confusion withinitialValue. Selected date/time or current date/time will be used instead
- BREAKING CHANGE: Changed type of
resetIconin DateTimePicker fromIconDatatoIcon
3.4.1 21-Aug-2019 #
- Fixed bug in
FormBuilderDateTimePickerwhereinitialValuedefaults to null
3.4.0 21-Aug-2019 #
- Converted
FormBuilderFieldOptionto Widget withchildattribute - allows option to be customized/styled - Fixed bug in
FormBuilderCheckboxListwhere new items cannot be added - Allow
nullvalue on checkbox iftristateis enabled - Adding InputBorder on
FormBuilderDropdownFieldnow possible - Fixed bug where initial date not shown for
FormBuilderDateTimePicker
3.3.4 08-Aug-2019 #
- Added
initialValuefield toFormBuilderCustomField
3.3.3 08-Aug-2019 #
- Attempt to fix issue where user is required to manually edit
FormBuilderDateTimePickerif not empty - instead of presenting Date/Time Picker
3.3.2 07-Aug-2019 #
- Upgrade dependency
datetime_picker_formfieldfrom v0.4.0 to 1.0.0-pre.2 (aka v0.4.1) - Removed
editableoption fromFormBuilderDateTimePicker- removed from dependencydatetime_picker_formfield
3.3.1 28-Jul-2019 #
- Fixed bugs in
FormBuilderDateTimePicker - Minor improvements to documentation
3.3.0 28-Jul-2019 #
- New Feature: You can now set
initialValueforFormBuilder- Accepts aMap<String, dynamic>where keys areattributes and the values areinitialValues for corresponding fields - New Field:
FormBuilderRangeSlider - Compatibility with newly released Flutter version
1.7.* Breaking change:Renamed occurrences ofreadonlytoreadOnlyto fit naming conventions- Updated
datetime_picker_formfieldto version0.4.0from0.2.0 - Added more attribute options for different fields
3.2.9 20-Jul-2019 #
- Added
borderColor,selectedColor,pressedColor,textStyleoptions toFormBuilderSegmentedControlforCupertinoSegmentedControlcustomization
3.2.8 12-Jul-2019 #
- Added
activeColor,checkColor,materialTapTargetSize&tristateoptions toFormBuilderCheckboxandFormBuilderCheckboxListfor checkbox customization
3.2.7 06-Jul-2019 #
- Fixed bug where
valueTransformers not working
3.2.6 06-Jul-2019 #
- If disabled dropdown has value, show value instead of
disabledHint
3.2.5 05-Jul-2019 #
- Fixed Stack Overflow bug in
setAttributeValuefunction
3.2.4 03-Jul-2019 #
- Fixed issue in saving form attribute values - Credit Caciano Kroth & eltonmorais
3.2.3 25-Jun-2019 #
- Allow
readonlyattribute for fields to be changed at runtime. Credit Daniel Acorsi. Closes #75
3.2.2 22-Jun-2019 #
- Bumped up
flutter_chips_inputfrom v1.2.0 to 1.3.0
3.2.1 22-Jun-2019 #
- Add missing attributes for
FormBuilderSliderto customizeSliderWidget includingactiveColor,inactiveColor,onChangeStart,onChangeEnd,labelandsemanticFormatterCallback. Closes #80. - Add support for
underlinetoFormBuilderDropdown. Credit Jordan Nelson. - Minor fixes to README
3.2.0 07-Jun-2019 #
- Bumped up
flutter_typeaheadfrom v1.5.0 to 1.6.1 - Bumped up
datetime_picker_formfieldfrom v0.1.8 to 0.2.0
3.1.3 06-Jun-2019 #
3.1.2 27-May-2019 #
- Attempted fix for
FormBuilderTextFieldretaining focus even after moving to other fields causing the UI to jump back to the TextField - Improved documentation for
FormBuilderCustomField
3.1.1 16-May-2019 #
- Fixed sample code in README for example project
- Bumped up
flutter_typeaheadfrom v1.4.0 to 1.5.0
3.1.0 15-May-2019 #
- Added
leadingInputoption for CheckboxList, Checkbox and Radio - Allows the option to have the input before its label (left). Courtesy of Sven Schöne
3.0.1 28-Apr-2019 #
- Fixed bug in where
focuNodeforFormBuilderTextFieldis ignored. Closes #53 - Fixed bug in where
textEditingConfigurationforFormBuilderTypeAheadignored
3.0.0 24-Apr-2019 #
- Complete rewrite of the package - stateful field widgets
FormBuilderCheckbox- Single Checkbox fieldFormBuilderCheckboxList- List of Checkboxes for multiple selectionFormBuilderChipsInput- Takes a list of Flutter Chip as inputsFormBuilderDateTimePicker- For Date, Time and DateTime inputFormBuilderDropdown- Allow selection of one value from a list as a DropdownFormBuilderRadio- Allow selection of one value from a list of Radio WidgetsFormBuilderRate- For selection of a numerical value as a ratingFormBuilderSegmentedControl- For selection of a value from theCupertinoSegmentedControlas an inputFormBuilderSignaturePad- Presents a drawing pad on which user can doodleFormBuilderSlider- For selection of a numerical value on a sliderFormBuilderStepper- Selection of a number by tapping on a plus or minus symbolFormBuilderSwitch- On/Off switchFormBuilderTextField- For text input. Allows input of single-line text, multi-line text, password, email, urls etc by using different configurations and validatorsFormBuilderTypeAhead- Auto-completes user input from a list of items
- New
FormBuilderCustomFieldto create of customFormFields - New attribute
validatorsallows composability and reusability of differentFormFieldValidatorfunctions that do different validations - New Feature
FormBuilderValidatorscomes with common validation functionality options such as: required, min, max, minLength, maxLength, email, url, credit card etc. - Added
valueTransformer- transforms field value before saving to the final form value - Added requested
onChangedvalue notifier event on fields. Closes #45 - Prevent duplicate
attributenames in fields - assertion - Breaking changes:
FormBuilderInputOptionbecomesFormBuilderFieldOptionBuildContextis not passed down intoFormBuilder
- Fixed URL validator works correctly - tested
- Improved documentation
2.0.3 26-Mar-2019 #
- Allow
nulls inFormBuildercontrolsattribute
2.0.2 26-Mar-2019 #
- Minor fix in documentation
2.0.1 26-Mar-2019 #
- Fixed bug where fields keep losing focus
2.0.0 25-Mar-2019 #
New Features and fixes #
- New attribute
decorationforFormBuilderInput. Enables one to customizeInputDecorationlike icons, labelStyles etc - Added ability to add
GlobalKeyof typeFormBuilderStateto FormBuilder that will be the handle to the state of the form enabling saving and resetting. Similar to using Flutter'sForm. - Added new input type
FormBuilder.signaturePadwhich provides a drawing pad for user signature - Added
maxattribute tochipsInputto limit the number of chips users can add - Added new attribute
maxLinesto be used with textFields with multiple lines - Fixed bug where readonly not working to Date, Time and DateTime Pickers
Breaking Changes #
- Removed reset/submit buttons and corresponding attributes:
showResetButton,resetButtonContentAccess form state using aGlobalKey<FormBilderState> - Removed
labelandhintattributes to be replaced bydecoration
1.5.1 21-Mar-2019 #
- Fixed bugs originating from upgrading
flutter_typeaheadfrom v0.5.1 to v1.2.1
1.5.0 20-Mar-2019 #
- Now using
datetime_picker_formfieldplugin from pub for DatePicker and TimePicker. Should close #33 - Added new
FormBuilderInput- DateTimePicker - Breaking change: DatePicker, TimePicker & DateTimePicker now return an object of
type
DateTimeinstead ofString - Upgraded
flutter_typeaheadfrom v0.5.1 to v1.2.1 - comes with more widgets options
1.4.0 29-Jan-2019 #
1.3.5 28-Jan-2019 #
- Fixed bug on Slider where current value not updated on slider & label
1.3.4 19-Jan-2019 #
Bug fix: Imported dart:async for use of Futures to be compatible with Dart <2.1
1.3.2 19-Dec-2018 #
- Allow setting of
formatfor DatePicker - Fixed bug where
lastDateandfirstDatefor DatePicker don't work
1.3.1 17-Dec-2018 #
1.3.0 15-Dec-2018 #
- Fixed bug where TypeAhead value reset when other fields are updated
onChangedfunction for FormBuilder is now called with current form values (breaking change)- Form reset now works as expected
- Other minor refactorings
1.2.0 23-Nov-2018 #
- New
FormBuilderInputtypes:- ChipsInput
- Some bug fixes
- Minor UI improvements
- Some bugs introduced, to be fixed later
1.1.0 19-Nov-2018 #
- Fixed bug where validation not working for fields outside screen (when using ListView) - Flutter Issue #17385
- Added InputDecoration for all custom FormFields
1.0.2 7-Nov-2018 #
- Fixed bug in (un)selecting checkbox list using by clicking its label
1.0.1 3-Nov-2018 #
- Minor improvements to documentation, added known issues section too
1.0.0 3-Nov-2018 #
Features #
- New
FormBuilderInputtypes:- Phone
- Stepper
- Rate
- SegmentedControl
minandmaxvalidation added to number field and textField- More specialized keyboard types for TextField control types (text, number, url, email, multiline, phone etc)
- Tapping on Label for radio/checkbox changes the control value
- Created new constructors for password and textField inputs
- Added resetButton
Fixes #
- Fixed bug where
TYPE_TEXTvalidates asTYPE_EMAIL- Closes #1 - Fixed initial value setting
FormBuilderInput.checkboxList()
Breaking Changes #
placeholderattribute of classFormBuilderInputrenamed tohint- Removed default constructor for
FormBuilderInput
0.0.1 1-Nov-2018. #
- Initial Release
- Input Types:
- Text
- Number
- MultilineText
- Password
- Radio
- CheckboxList
- Checkbox
- Switch
- Slider
- Dropdown
- DatePicker
- TimePicker
- Url
- TypeAhead