Skip to content

Commit

Permalink
Merge pull request #6 from wisemen-digital/bugfix/validated-text-form…
Browse files Browse the repository at this point in the history
…field

set maxLines in constructor to 1
  • Loading branch information
Yani-Maassen committed May 16, 2024
2 parents a897ec5 + bbbc46c commit 2c7b232
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/widgets/valided_form_text_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class ValidatedTextFormField extends ConsumerWidget {
this.labelStyle,
this.showAndroidLabel = false,
this.minLines,
this.maxLines,
this.maxLines = 1,
});

final void Function(String)? onChanged;
Expand Down

0 comments on commit 2c7b232

Please sign in to comment.