From 6e4ae68742829db10085b0a496b12e07e64df9b1 Mon Sep 17 00:00:00 2001 From: Guy Rahamim Date: Tue, 28 Nov 2023 23:03:43 +0200 Subject: [PATCH] set appropriate default hint values for GfFormField hint texts --- .../form/form_field/widgets/gf_form_field.dart | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/lib/components/form/form_field/widgets/gf_form_field.dart b/lib/components/form/form_field/widgets/gf_form_field.dart index 03269a37..cfcb37f8 100644 --- a/lib/components/form/form_field/widgets/gf_form_field.dart +++ b/lib/components/form/form_field/widgets/gf_form_field.dart @@ -471,7 +471,8 @@ class _GfFormFieldState extends State gfprefixIcon: widget.iconPrefix, bgfilled: true, bgcolor: widget.backgroundcolor, - hinttext: widget.hintText != null ? widget.hintText : 'Name', + hinttext: + widget.hintText != null ? widget.hintText : 'Password', ), controller: textEditingController, fieldinitialValue: widget.initialValue, @@ -539,7 +540,7 @@ class _GfFormFieldState extends State gfprefixIcon: widget.iconPrefix, bgfilled: true, bgcolor: widget.backgroundcolor, - hinttext: widget.hintText != null ? widget.hintText : 'Name', + hinttext: widget.hintText != null ? widget.hintText : 'Email', ), controller: textEditingController, fieldinitialValue: widget.initialValue, @@ -607,7 +608,7 @@ class _GfFormFieldState extends State gfprefixIcon: widget.iconPrefix, bgfilled: true, bgcolor: widget.backgroundcolor, - hinttext: widget.hintText != null ? widget.hintText : 'Name', + hinttext: widget.hintText != null ? widget.hintText : 'Phone', ), controller: textEditingController, fieldinitialValue: widget.initialValue, @@ -745,7 +746,7 @@ class _GfFormFieldState extends State gfprefixIcon: widget.iconPrefix, bgfilled: true, bgcolor: widget.backgroundcolor, - hinttext: widget.hintText != null ? widget.hintText : 'Name', + hinttext: widget.hintText != null ? widget.hintText : 'Number', ), controller: textEditingController, fieldinitialValue: widget.initialValue,