From befb9531cca0faa0bb9657a92967acdb97109a16 Mon Sep 17 00:00:00 2001 From: Tim Date: Fri, 12 Jan 2024 10:26:11 +0100 Subject: [PATCH] feature (add): flutter multiline text field can now have an initial value --- CHANGELOG.md | 5 ++++- lib/src/widgets/input/input_types/input_plain_text.dart | 1 + pubspec.yaml | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 197704c..19954d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -108,4 +108,7 @@ - Bump `flutter_input_library` to version 2.5.0 ## 6.2.0 - December 14th 2023 -- Pass on the `textCapitalization` property to FlutterFormPlainText and FlutterFormMultiLine \ No newline at end of file +- Pass on the `textCapitalization` property to FlutterFormPlainText and FlutterFormMultiLine + +## 6.2.1 - January 12th 2024 +- Pass on the `initialValue` property to FlutterFormMultiLine \ No newline at end of file diff --git a/lib/src/widgets/input/input_types/input_plain_text.dart b/lib/src/widgets/input/input_types/input_plain_text.dart index 14ad1b7..d380205 100644 --- a/lib/src/widgets/input/input_types/input_plain_text.dart +++ b/lib/src/widgets/input/input_types/input_plain_text.dart @@ -115,6 +115,7 @@ class FlutterFormInputMultiLine extends StatelessWidget { label: label, hint: hint, focusNode: focusNode, + initialValue: controller.value, maxCharacters: maxCharacters, onChanged: controller.onChanged, onSaved: controller.onSaved, diff --git a/pubspec.yaml b/pubspec.yaml index 81e9e35..d402c63 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: flutter_form_wizard description: A new Flutter package project. -version: 6.2.0 +version: 6.2.1 homepage: https://github.com/Iconica-Development/flutter_form_wizard publish_to: none