Merge pull request #27 from Iconica-Development/hotfix/validation_message

fix: add missing validation message
This commit is contained in:
Jacques Doeleman 2024-08-26 16:16:28 +02:00 committed by GitHub
commit 60221a3273
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 14 additions and 5 deletions

View file

@ -1,3 +1,7 @@
## 0.6.5
- Added validationMessage where it was missing
## 0.6.4
- Loosened the dependency on intl to be more compatible with several Flutter versions

View file

@ -142,7 +142,9 @@ class _MediaCheckPageState extends State<MediaCheckPage> {
child: FlutterFormInputMultiLine(
hint: 'Add description...',
maxCharacters: 300,
controller: descriptionController),
controller: descriptionController,
validationMessage: 'Field is mandatory',
),
),
const SizedBox(
height: 12,
@ -156,6 +158,7 @@ class _MediaCheckPageState extends State<MediaCheckPage> {
),
),
controller: timelineSwitchController,
validationMessage: 'Field is mandatory',
),
const SizedBox(
height: 15,
@ -169,6 +172,7 @@ class _MediaCheckPageState extends State<MediaCheckPage> {
),
),
controller: vaultSwitchController,
validationMessage: 'Field is mandatory',
),
const SizedBox(
height: 60,

View file

@ -147,7 +147,7 @@ packages:
path: ".."
relative: true
source: path
version: "0.6.3"
version: "0.6.4"
flutter_plugin_android_lifecycle:
dependency: transitive
description:

View file

@ -65,6 +65,7 @@ class _DisplayTextState extends State<DisplayText> {
return FlutterFormInputPlainText(
label: const Text('Title'),
controller: _controller,
validationMessage: 'Field is mandatory',
);
}
}

View file

@ -1,6 +1,6 @@
name: flutter_media_picker
description: A new Flutter package project.
version: 0.6.4
version: 0.6.5
homepage: https://github.com/Iconica-Development/flutter_media_picker
publish_to: "none"