Skip to content

Commit 68f3527

Browse files
committed
chore(validators): released v8.1.1
1 parent 336b693 commit 68f3527

File tree

3 files changed

+5
-25
lines changed

3 files changed

+5
-25
lines changed

packages/form_builder_validators/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [8.1.1] - 26-Apr-2022
2+
* Fixed issue where email validator trims string before validation
3+
14
## [8.1.0] - 13-Apr-2022
25
* Added Romanian (ro) language support
36

packages/form_builder_validators/example/lib/main.dart

Lines changed: 1 addition & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,32 +17,9 @@ class MyApp extends StatelessWidget {
1717
title: 'Form Builder Validators Demo',
1818
theme: ThemeData(primarySwatch: Colors.blue),
1919
home: const HomePage(),
20-
supportedLocales: const [
21-
Locale('ar'),
22-
Locale('bn'),
23-
Locale('ca'),
24-
Locale('de'),
25-
Locale('en'),
26-
Locale('es'),
27-
Locale('et'),
28-
Locale('fa'),
29-
Locale('fr'),
30-
Locale('hu'),
31-
Locale('id'),
32-
Locale('it'),
33-
Locale('ja'),
34-
Locale('ko'),
35-
Locale('lo'),
36-
Locale('nl'),
37-
Locale('ro'),
38-
Locale('sw'),
39-
Locale('uk'),
40-
Locale('zh_Hans'),
41-
Locale('zh_Hant'),
42-
],
20+
supportedLocales: [...FormBuilderLocalizations.delegate.supportedLocales],
4321
localizationsDelegates: const [
4422
...GlobalMaterialLocalizations.delegates,
45-
GlobalWidgetsLocalizations.delegate,
4623
FormBuilderLocalizations.delegate,
4724
],
4825
);

packages/form_builder_validators/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: form_builder_validators
22
description: This package provides common reusable FormFieldValidators for Flutter FormField widgets with internationalization
3-
version: 8.1.0
3+
version: 8.1.1
44
homepage: https://github.com/danvick/flutter_form_builder
55

66
environment:

0 commit comments

Comments
 (0)