Skip to content

Commit b52895e

Browse files
committed
Merge branch 'master' into version_4
# Conflicts: # .gitignore # CHANGELOG.md # README.md # example/android/app/build.gradle # example/android/app/src/main/AndroidManifest.xml # example/android/build.gradle # example/android/gradle/wrapper/gradle-wrapper.properties # example/ios/Flutter/.last_build_id # example/ios/Podfile # example/ios/Runner.xcodeproj/project.pbxproj # example/ios/Runner/AppDelegate.swift # example/lib/data.dart # example/lib/main.dart # example/pubspec.yaml # lib/flutter_form_builder.dart # lib/src/fields/form_builder_checkbox.dart # lib/src/fields/form_builder_checkbox_group.dart # lib/src/fields/form_builder_checkbox_list.dart # lib/src/fields/form_builder_chips_choice.dart # lib/src/fields/form_builder_chips_filter.dart # lib/src/fields/form_builder_chips_input.dart # lib/src/fields/form_builder_color_picker.dart # lib/src/fields/form_builder_country_picker.dart # lib/src/fields/form_builder_date_range_picker.dart # lib/src/fields/form_builder_date_time_picker.dart # lib/src/fields/form_builder_dropdown.dart # lib/src/fields/form_builder_image_picker.dart # lib/src/fields/form_builder_phone_field.dart # lib/src/fields/form_builder_radio.dart # lib/src/fields/form_builder_radio_group.dart # lib/src/fields/form_builder_range_slider.dart # lib/src/fields/form_builder_rate.dart # lib/src/fields/form_builder_segmented_control.dart # lib/src/fields/form_builder_signature_pad.dart # lib/src/fields/form_builder_slider.dart # lib/src/fields/form_builder_stepper.dart # lib/src/fields/form_builder_switch.dart # lib/src/fields/form_builder_text_field.dart # lib/src/fields/form_builder_touch_spin.dart # lib/src/fields/form_builder_typeahead.dart # lib/src/form_builder.dart # lib/src/form_builder_custom_field.dart # lib/src/form_builder_field_option.dart # lib/src/form_builder_validators.dart # lib/src/hex_color.dart # lib/src/widgets/grouped_checkbox.dart # lib/src/widgets/grouped_radio.dart # lib/src/widgets/image_source_sheet.dart # pubspec.lock # pubspec.yaml # test/flutter_form_builder_test.dart
2 parents 4438876 + de1ed38 commit b52895e

File tree

13 files changed

+272
-640
lines changed

13 files changed

+272
-640
lines changed

.github/FUNDING.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# github: [danvick]
2-
custom: https://buymeacoff.ee/wb5M9y2Sz
2+
custom: https://buymeacoff.ee/wb5M9y2Sz
3+
patreon: danvick

.github/workflows/main.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: CI
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches: [ master ]
10+
pull_request:
11+
branches: [ master ]
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: macos-latest
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+
- uses: actions/checkout@v2
24+
25+
- name: Flutter action
26+
uses: subosito/flutter-action@v1
27+
with:
28+
channel: stable
29+
30+
- name: Run Tests
31+
run: |
32+
flutter pub get
33+
flutter test --coverage
34+
35+
- name: Upload coverage to Codecov
36+
uses: codecov/codecov-action@v1
37+
with:
38+
file: coverage/lcov.info

CHANGELOG.md

Lines changed: 118 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* Minor improvements and documentation added for LocationField
1616

1717
## [4.0.0-pre.3] - 02-Oct-2020
18-
* Changed Version naming for release candidates from `-RC.*` to `-pre.*`
18+
* Changed Version naming for release candidates from `-RC.*` to `-pre.*`
1919

2020
## [4.0.0-RC.2] - 02-Oct-2020
2121
* More documentation improvements
@@ -59,7 +59,7 @@
5959
* Fix bug in parsing phone number from `FormBuilderPhoneField.initialValue`
6060

6161
## [4.0.0-alpha.9] - 05-Aug-2020
62-
* Improved programmatically changing field values. Multiple fields can be updated once
62+
* Improved programmatically changing field values. Multiple fields can be updated once
6363
* Fix conversion to double error in `FormBuilderRating`
6464
* Removed redundant `FormBuilderRadioList` and `FormBuilderCheckboxList` fields
6565
* Other minor fixes from v3 commits
@@ -70,13 +70,13 @@
7070
* Fixed issue where `FormBuilderRadioGroup` not submitting value
7171

7272
## [4.0.0-alpha.7] - 22-Jul-2020
73-
* Added new field - `FormBuilderCheckboxGroup`. Closes #188,
73+
* Added new field - `FormBuilderCheckboxGroup`. Closes #188,
7474
* New `FormBuilderRadioGroup` implementation similar to `FormBuilderCheckboxGroup`. Fixes issue where `FormBuilderFieldOption.child` is ignored Closes #335
7575
* Set FocusTraversalGroup policy
7676
* Fixed bug where TextField where `initialValue` from `FormBuilder` is ignored. Closes #370
7777

7878
## [4.0.0-alpha.6] - 20-Jul-2020
79-
* Added focusNode to all fields.
79+
* Added focusNode to all fields.
8080
* Attempted tab/next support - work in progress
8181
* Request Focus to Field when change is attempted.
8282
* Include guide to programmatically inducing errors to README. Closes #123
@@ -88,8 +88,8 @@
8888
* Improvements to dirty check for FormBuilderField - fixes autovalidate only when dirty
8989

9090
## [4.0.0-alpha.4] - 04-Jul-2020
91-
* Added static getter for FormBuilderLocalizations delegate
92-
* Fix issue where setting app localization is required for built-in validation to work
91+
* Added static getter for FormBuilderLocalizations delegate
92+
* Fix issue where setting app localization is required for built-in validation to work
9393

9494
## [4.0.0-alpha.3] - 01-Jul-2020
9595
* Localize validation error texts
@@ -101,6 +101,118 @@
101101
* ColorPicker, DateRangePicker, DateTimePicker - set TextField readOnly to true. Prevents keyboard popup
102102
* Improvements to example: break down to several pages; also show code in example app
103103

104+
## [3.14.1] - 24-Oct-2020
105+
* Remove phone number validation internally. Closes #499
106+
* Include padding option for ChoiceChips. Closes #504
107+
108+
## [3.14.0] - 02-Oct-2020
109+
* Added support for Flutter v1.22
110+
111+
## [3.14.0-alpha.4] - 30-Sep-2020
112+
* Include changes made in v3.13.5 & v3.13.6
113+
* Fix build for flutter >=1.21.0-9.1.pre
114+
115+
## [3.13.6] - 25-Sep-2020
116+
* Fixed bug in DateRangePicker where user can just pick one date. Closes #434
117+
* Fix bug where FormBuilderCheckboxGroup value set to widget.initialValue. Closes #467
118+
* Prevent events from happening while picking image with ImagePicker
119+
* Added null check for val in onSaved and validator
120+
* Fix `GroupedCheckbox` not disabled when read only
121+
* Added phone validation and fixed `initialValue` parsing
122+
* Fix `Image.memory` throwing error when value is `null`
123+
124+
## [3.13.5] - 08-Sep-2020
125+
* Fixed bug in `DateRangePicker` where `onChanged` fires before change. Closes #434
126+
* Use app's locale for default DateTimePicker display formatting
127+
* Update to latest `flutter_chips_input`. Fixes #415
128+
129+
## [3.14.0-alpha.3] - 22-Aug-2020
130+
* Include changes made in v3.13.4
131+
132+
## [3.13.4] - 27-Aug-2020
133+
* Fixed bug where `CountryPicker.onSaved` breaks if value is null
134+
* Fixed bug where `initialValue` not saved
135+
* Fix for label overflows in `RadioGroup` & `CheckboxGroup`
136+
* Upgrade to latest `flutter_chips_input`. Fixes bugs in Flutter pre-release channels
137+
138+
## [3.14.0-alpha.2] - 22-Aug-2020
139+
* Include changes made in v3.13.3
140+
141+
## [3.13.3] - 22-Aug-2020
142+
* Fix bug where CountryPicker still works in readOnly. Closes #413
143+
* Fixed bug where onChanged is not fired in CountryPicker. Closes #424
144+
* Allow null initialValue for CountryPicker. Closes #421
145+
* Minor improvements for ImagePicker on web platform. Closes #414
146+
* Added video tutorial reference to README
147+
148+
## [3.14.0-alpha.1] - 11-Aug-2020
149+
* Fixed `RangeSemanticFormatterCallback` error. Changed field with `SemanticFormatterCallback`.
150+
151+
## [3.13.2] - 11-Aug-2020
152+
* Added `defaultImage` attribute to `FormBuilderImagePicker`, acts as placeholder. Courtesy [luwenbin8023](https://github.com/luwenbin8023)
153+
* Fix bug in `FormBuilderCheckboxGroup` where `InputDecoration` isn't enabled. Closes #405
154+
* Fix issue where form's initialValue would potentially be ignored. Fixes #341
155+
156+
## [3.13.1] - 08-Aug-2020
157+
* Added default value to `timePickerInitialEntryMode` to be consistent with `showTimePicker` API. Closes #403
158+
* Ensure `TextEditingController`s aren't unused and are properly disposed.
159+
* Use latest version of `flutter_chips_input` with fix for "Bad UTF-8 found..."
160+
161+
## [3.13.0] - 06-Aug-2020
162+
* Added support for Flutter v1.20
163+
164+
## [3.12.3] - 05-Aug-2020
165+
* Fixed bug in parsing phone number from `FormBuilderPhoneField`'s `initialValue`
166+
* Added more TextField options: `toolbarOptions`, `smartQuotesType`, `smartDashesType`, `scrollPhysics`, `enableSuggestions`
167+
* Fixed `onChanged` bug on TextField
168+
169+
## [3.12.2] - 03-Aug-2020
170+
* Convert FormBuilderRating value to double for RatingBar. Closes #392
171+
172+
## [3.12.1] - 03-Aug-2020
173+
* Deprecate `FormBuilderRadio` in favour of `FormBuilderRadioGroup`
174+
* Deprecate `FormBuilderCheckbox` in favour of `FormBuilderCheckboxGroup`
175+
* Fix bug `"NoSuchMethodError: invalid member on null: 'initialValue'"` when fields not wrapped in `FormBuilder`
176+
177+
## [3.12.0] - 24-Jul-2020
178+
* Added new field `FormBuilderCheckboxGroup`. Closes #188
179+
* Removed `group_radio_button` library dependency, made own implementation with label fix. Closes #376, #335
180+
* Add web support for ImagePicker. Courtesy of [vin-fandemand](https://github.com/vin-fandemand)
181+
* Fixed bug where value within `TextEditingController` ignored in `FormBuilderTypeahead`
182+
183+
## [3.11.6] - 20-Jul-2020
184+
* Upgraded dependencies
185+
* Fixed error '`The getter 'initialValue' was called on null`' if no `FormBuilderState` ancestry. Closes #364
186+
* Fixed issue where DropdownButton `hint` overlaps with `labelText`. Closes #372
187+
* Fix '`initialEntryMode != null`' assertion in DateTimePicker. Closes #373
188+
189+
## [3.11.5] - 17-Jul-2020
190+
* Included more `showDatePicker` function options
191+
* Fixed bug where `onChanged` not triggered by ImagePicker. Closes #366
192+
* Deprecate `underline` for Dropdown. Ignored
193+
* Added more options for DropdownButton. Closes #153, #337
194+
* Type `FormBuilderDropdown` class. Closes #360
195+
* Included options to set camera and gallery icons and label. Closes #340
196+
* Added `bottomSheetPadding` option for ImagePicker. Closes #339
197+
198+
## [3.11.4] - 08-Jul-2020
199+
* Added text styles options to Slider
200+
* Re-implement number formatting on Slider field
201+
* Fix bug in ChoiceChip & FilterChip where using FieldOption label instead of child breaks. Closes #348
202+
* Added `labelPadding` and `labelStyle` to ChoiceChip field
203+
* Fix SignaturePad initialValue.
204+
205+
## [3.11.3] - 21-Jun-2020
206+
* Reverted changes to PhoneField causing focus issues
207+
208+
## [3.11.2] - 19-Jun-2020
209+
* Deprecated `initialValue` for Signature field - here's no easy way of converting `Uint8List` to `List<Point>`. Use SignatureController to set initial signature
210+
* Added `displayValues` attribute to Slider and RangeSlider - choose which values to display under the slider
211+
212+
## [3.11.1] - 15-Jun-2020
213+
* Bumped up flutter_chips_input version. Contains major fix
214+
* Fixed bug preventing use of non-String value for `FormBuilderTypeAhead`.
215+
104216
## [3.11.0] - 14-Jun-2020
105217
* Added `FormBuilderRadioGroup` field
106218
* Revised ImageSourceSheet to use the new Image Picker api, and added support for web platform.

0 commit comments

Comments
 (0)