Skip to content

Commit cb5a55f

Browse files
committed
feat: Rapikan text field reason di form add manual tracking
Rapikan text field reason di form add manual tracking agar bisa multiple lines.
1 parent acc6070 commit cb5a55f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/feature/presentation/page/manual_tracking/manual_tracking_page.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,8 @@ class _ManualTrackingPageState extends State<ManualTrackingPage> {
423423
onChanged: (_) {
424424
doCheckEnableButtonSubmit();
425425
},
426+
minLines: 1,
427+
maxLines: 3,
426428
),
427429
const SizedBox(height: 24),
428430
buildWidgetButtonSave(),
@@ -629,6 +631,8 @@ class _ManualTrackingPageState extends State<ManualTrackingPage> {
629631
bool readOnly = true,
630632
int? maxLength,
631633
ValueChanged<String>? onChanged,
634+
int? minLines,
635+
int? maxLines,
632636
}) {
633637
return TextFormField(
634638
controller: controller,
@@ -643,6 +647,8 @@ class _ManualTrackingPageState extends State<ManualTrackingPage> {
643647
enabled: isEnabled,
644648
maxLength: maxLength,
645649
onChanged: onChanged,
650+
minLines: minLines,
651+
maxLines: maxLines,
646652
);
647653
}
648654

0 commit comments

Comments
 (0)