You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
-135Lines changed: 0 additions & 135 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,22 +19,6 @@ and collect final user input.
19
19
To use this plugin, add `flutter_form_builder` as a
20
20
[dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/).
21
21
22
-
### Migrating from v3 to v4
23
-
Improvements:
24
-
* Internationalized default error texts for inbuilt validators - Help wanted to do even more in translating to more languages.
25
-
* Ability to programmatically induce an error to a field - could be especially useful for server-side validation.
26
-
* New field types including: SearchableDropdown and FilePickerField
27
-
* Better composition of validators.
28
-
29
-
Breaking changes:
30
-
* Rename `attribute` option in all fields to `name`.
31
-
*`validators` attribute has been renamed to `validator` which takes Flutter's
32
-
[FormFieldValidator]() object. To compose multiple `FormFieldValidator`s together, use
33
-
`FormBuilderValidators.compose()` which takes a list of `FormFieldValidator` objects.
34
-
*`FormBuilderValidators.requiredTrue` functionality has been replaced with `FormBuilderValidators.equal` which can be used to check equality of any `Object` or value
35
-
* Due to its limited use, `FormBuilderCountryPicker` was removed from the package. Its functionality could be achieved with use of `FormBuilderSearchableDropdown` which is more extensible.
36
-
*`FormBuilderCustomField` functionality is now achieved using `FormBuilderField` class which is the base class from which all fields are built in v4. Follow [these instructions](#building-your-own-custom-field) to construct your own custom form field using `FormBuilderField`.
0 commit comments