Skip to content

Commit

Permalink
add max lines to 4
Browse files Browse the repository at this point in the history
  • Loading branch information
praslnx8 committed Jul 1, 2024
1 parent 61009b8 commit c1a68de
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/ui/widgets/create_investment_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -159,10 +159,8 @@ class _CreateInvestmentPage extends PageState<CreateInvestmentViewState,
const SizedBox(height: AppDimen.defaultPadding),
TextFormField(
textInputAction: TextInputAction.next,
maxLines: 4,
controller: _descriptionController,
inputFormatters: [
FilteringTextInputFormatter.deny(RegExp(r'[^a-zA-Z0-9\s]'))
],
decoration: const InputDecoration(
labelText: 'Description', border: OutlineInputBorder()),
),
Expand Down

0 comments on commit c1a68de

Please sign in to comment.