Merge pull request #7 from Iconica-Development/feature/input_date_add_initial_value

add date label as argument
This commit is contained in:
joonsv 2022-10-13 15:42:50 +02:00 committed by GitHub
commit 909a8c947d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -40,7 +40,7 @@ class _DatePageState extends State<DatePage> {
const Duration(days: 7),
),
),
label: const Text("Date"),
label: const Text("Custom date label"),
controller: widget.dateController,
),
),

View file

@ -51,6 +51,7 @@ class FlutterFormInputDateTime extends FlutterFormInputWidget {
super.registerController(context);
return DateTimeInputField(
label: label,
firstDate: firstDate,
lastDate: lastDate,
inputType: inputType,