Skip to content

Commit

Permalink
tweak location form field styling
Browse files Browse the repository at this point in the history
  • Loading branch information
LGro committed May 29, 2024
1 parent d1050ef commit a3844b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions lib/ui/locations/check_in/widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -144,18 +144,19 @@ class _MyFormState extends State<MyForm> {
key: const Key('myForm_titleInput'),
controller: _titleController,
decoration: const InputDecoration(
helperText: 'What are you up to and for how long?',
border: OutlineInputBorder(),
helperMaxLines: 2,
labelText: 'Title',
errorMaxLines: 2,
),
textInputAction: TextInputAction.done,
),
const SizedBox(height: 8),
TextFormField(
key: const Key('myForm_detailsInput'),
controller: _detailsController,
decoration: const InputDecoration(
helperText: "More details to share about what you're up to",
border: OutlineInputBorder(),
helperMaxLines: 2,
labelText: 'Details',
errorMaxLines: 2,
Expand Down
5 changes: 3 additions & 2 deletions lib/ui/locations/schedule/widget.dart
Original file line number Diff line number Diff line change
Expand Up @@ -167,20 +167,21 @@ class _MyFormState extends State<MyForm> {
key: const Key('myForm_titleInput'),
controller: _titleController,
decoration: const InputDecoration(
// helperText: 'What are you up to?',
border: OutlineInputBorder(),
helperMaxLines: 2,
labelText: 'Title',
errorMaxLines: 2,
),
textInputAction: TextInputAction.done,
)),
const SizedBox(height: 8),
Padding(
padding: const EdgeInsets.only(left: 16, right: 16),
child: TextFormField(
key: const Key('myForm_detailsInput'),
controller: _detailsController,
decoration: const InputDecoration(
// helperText: "More details to share about what you're up to",
border: OutlineInputBorder(),
helperMaxLines: 2,
labelText: 'Details',
errorMaxLines: 2,
Expand Down

0 comments on commit a3844b3

Please sign in to comment.