- Fixed DateTimePicker bug: 'DateTime is not a subtype of type TimeOfDay' when Input type is Time only. Closes #131
- Re-introduced
onSuggestionSelected
option in TypeAhead field
- Hack to avoid manual editing of date - as is in DateTimeField library
- NEW FIELD TYPE:
FormBuilderDateRangePicker
- New method
saveAndValidate
method toFormBuilder
- Ability to use custom data types in TypeAhead field instead of just String
FormBuilderDateTimePicker
fixes- 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
initialTime
andinitialDate
deprecated - brings confusion withinitialValue
. Selected date/time or current date/time will be used instead
- BREAKING CHANGE: Changed type of
resetIcon
in DateTimePicker fromIconData
toIcon
- Fixed bug in
FormBuilderDateTimePicker
whereinitialValue
defaults to null
- Converted
FormBuilderFieldOption
to Widget withchild
attribute - allows option to be customized/styled - Fixed bug in
FormBuilderCheckboxList
where new items cannot be added - Allow
null
value on checkbox iftristate
is enabled - Adding InputBorder on
FormBuilderDropdownField
now possible - Fixed bug where initial date not shown for
FormBuilderDateTimePicker
- Added
initialValue
field toFormBuilderCustomField
- Attempt to fix issue where user is required to manually edit
FormBuilderDateTimePicker
if not empty - instead of presenting Date/Time Picker
- Upgrade dependency
datetime_picker_formfield
from v0.4.0 to 1.0.0-pre.2 (aka v0.4.1) - Removed
editable
option fromFormBuilderDateTimePicker
- removed from dependencydatetime_picker_formfield
- Fixed bugs in
FormBuilderDateTimePicker
- Minor improvements to documentation
- New Feature: You can now set
initialValue
forFormBuilder
- Accepts aMap<String, dynamic>
where keys areattribute
s and the values areinitialValue
s for corresponding fields - New Field:
FormBuilderRangeSlider
- Compatibility with newly released Flutter version
1.7.*
Breaking change:
Renamed occurrences ofreadonly
toreadOnly
to fit naming conventions- Updated
datetime_picker_formfield
to version0.4.0
from0.2.0
- Added more attribute options for different fields
- Added
borderColor
,selectedColor
,pressedColor
,textStyle
options toFormBuilderSegmentedControl
forCupertinoSegmentedControl
customization
- Added
activeColor
,checkColor
,materialTapTargetSize
&tristate
options toFormBuilderCheckbox
andFormBuilderCheckboxList
for checkbox customization
- Fixed bug where
valueTransformer
s not working
- If disabled dropdown has value, show value instead of
disabledHint
- Fixed Stack Overflow bug in
setAttributeValue
function
- Fixed issue in saving form attribute values - Credit Caciano Kroth & eltonmorais
- Allow
readonly
attribute for fields to be changed at runtime. Credit Daniel Acorsi. Closes #75
- Bumped up
flutter_chips_input
from v1.2.0 to 1.3.0
- Add missing attributes for
FormBuilderSlider
to customizeSlider
Widget includingactiveColor
,inactiveColor
,onChangeStart
,onChangeEnd
,label
andsemanticFormatterCallback
. Closes #80. - Add support for
underline
toFormBuilderDropdown
. Credit Jordan Nelson. - Minor fixes to README
- Bumped up
flutter_typeahead
from v1.5.0 to 1.6.1 - Bumped up
datetime_picker_formfield
from v0.1.8 to 0.2.0
- Made
flutter_typeahead
'sonSuggestionSelected
available toFormBuilderTypeAhead
- Closes #73. Credit to daWeed
- Attempted fix for
FormBuilderTextField
retaining focus even after moving to other fields causing the UI to jump back to the TextField - Improved documentation for
FormBuilderCustomField
- Fixed sample code in README for example project
- Bumped up
flutter_typeahead
from v1.4.0 to 1.5.0
- Added
leadingInput
option for CheckboxList, Checkbox and Radio - Allows the option to have the input before its label (left). Courtesy of Sven Schöne
- Fixed bug in where
focuNode
forFormBuilderTextField
is ignored. Closes #53 - Fixed bug in where
textEditingConfiguration
forFormBuilderTypeAhead
ignored
- 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 theCupertinoSegmentedControl
as 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
FormBuilderCustomField
to create of customFormField
s - New attribute
validators
allows composability and reusability of differentFormFieldValidator
functions that do different validations - New Feature
FormBuilderValidators
comes 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
onChanged
value notifier event on fields. Closes #45 - Prevent duplicate
attribute
names in fields - assertion - Breaking changes:
FormBuilderInputOption
becomesFormBuilderFieldOption
- BuildContext is not passed down into
FormBuilder
- Fixed URL validator works correctly - tested
- Improved documentation
- Allow
null
s inFormBuilder
controlsattribute
- Minor fix in documentation
- Fixed bug where fields keep losing focus
- New attribute
decoration
forFormBuilderInput
. Enables one to customizeInputDecoration
like icons, labelStyles etc - Added ability to add
GlobalKey
of typeFormBuilderState
to 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.signaturePad
which provides a drawing pad for user signature - Added
max
attribute tochipsInput
to limit the number of chips users can add - Added new attribute
maxLines
to be used with textFields with multiple lines - Fixed bug where readonly not working to Date, Time and DateTime Pickers
- Removed reset/submit buttons and corresponding attributes:
showResetButton
,resetButtonContent
Access form state using aGlobalKey<FormBilderState>
- Removed
label
andhint
attributes to be replaced bydecoration
- Fixed bugs originating from upgrading
flutter_typeahead
from v0.5.1 to v1.2.1
- Now using
datetime_picker_formfield
plugin from pub for DatePicker and TimePicker. Should close #33 - Added new
FormBuilderInput
- DateTimePicker - Breaking change: DatePicker, TimePicker & DateTimePicker now return an object of
type
DateTime
instead ofString
- Upgraded
flutter_typeahead
from v0.5.1 to v1.2.1 - comes with more widgets options
- The entire form or individual controls can now be made readonly by making
readonly
property totrue
. Default value isfalse
. Closes #11 and #16
- Fixed bug on Slider where current value not updated on slider & label
Bug fix: Imported dart:async
for use of Future
s to be compatible with Dart <2.1
- Updated
flutter_typeahead
version. Closes #15
- Allow setting of
format
for DatePicker - Fixed bug where
lastDate
andfirstDate
for DatePicker don't work
- Moved ChipsInput into own library on pub.dartlang.org, check it out here
- Updated example code to include proper use of Form's
onChanged
function after update. Closes #8
- Fixed bug where TypeAhead value reset when other fields are updated
onChanged
function for FormBuilder is now called with current form values (breaking change)- Form reset now works as expected
- Other minor refactorings
- New
FormBuilderInput
types:- ChipsInput
- Some bug fixes
- Minor UI improvements
- Some bugs introduced, to be fixed later
- Fixed bug where validation not working for fields outside screen (when using ListView) - Flutter Issue #17385
- Added InputDecoration for all custom FormFields
- Fixed bug in (un)selecting checkbox list using by clicking its label
- Minor improvements to documentation, added known issues section too
- New
FormBuilderInput
types:- Phone
- Stepper
- Rate
- SegmentedControl
min
andmax
validation 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
- Fixed bug where
TYPE_TEXT
validates asTYPE_EMAIL
- Closes #1 - Fixed initial value setting
FormBuilderInput.checkboxList()
placeholder
attribute of classFormBuilderInput
renamed tohint
- Removed default constructor for
FormBuilderInput
- Initial Release
- Input Types:
- Text
- Number
- MultilineText
- Password
- Radio
- CheckboxList
- Checkbox
- Switch
- Slider
- Dropdown
- DatePicker
- TimePicker
- Url
- TypeAhead