mirror of
https://github.com/Iconica-Development/flutter_timeline.git
synced 2025-05-18 18:13:46 +02:00
fix: set the optional maxLength on the default inputfield for post titles
This commit is contained in:
parent
8d13e4af27
commit
2c8d523f32
2 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
- Add a listHeaderBuilder for showing a header at the top of the list of posts in the timeline
|
||||
- Add a getUserId function to retrieve the userId when needed in the userstory configuration
|
||||
- Fix the timelinecategory selection by removing the categories with key null
|
||||
- Set an optional max length on the default post title input field
|
||||
|
||||
## 3.0.1
|
||||
|
||||
|
|
|
@ -140,6 +140,7 @@ class _TimelinePostCreationScreenState
|
|||
'',
|
||||
) ??
|
||||
TextField(
|
||||
maxLength: widget.options.maxTitleLength,
|
||||
controller: titleController,
|
||||
decoration: widget.options.contentInputDecoration ??
|
||||
InputDecoration(
|
||||
|
|
Loading…
Reference in a new issue