Skip to content

Commit

Permalink
Fix text field sample expanding past 4 lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Pante committed Jun 27, 2024
1 parent 293c868 commit 860aa3e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/pages/docs/text-field.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ FTextField.multiline(
```dart
FTextField.multiline(
label: 'Leave a review',
maxLines: 4,
);
```
</Tabs.Tab>
Expand Down
1 change: 1 addition & 0 deletions samples/lib/widgets/text_field.dart
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ class MultilineTextFieldPage extends SampleScaffold {
padding: EdgeInsets.symmetric(horizontal: 20, vertical: 30),
child: FTextField.multiline(
label: 'Leave a review',
maxLines: 4,
),
),
],
Expand Down

0 comments on commit 860aa3e

Please sign in to comment.