mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
Fix name textfield focus
This commit is contained in:
@ -79,6 +79,7 @@ class _SidebarRequestCardState extends State<SidebarRequestCard> {
|
|||||||
Expanded(
|
Expanded(
|
||||||
child: inEditMode
|
child: inEditMode
|
||||||
? TextFormField(
|
? TextFormField(
|
||||||
|
key: Key("${widget.id}-name"),
|
||||||
initialValue: widget.name,
|
initialValue: widget.name,
|
||||||
autofocus: true,
|
autofocus: true,
|
||||||
style: Theme.of(context).textTheme.bodyMedium,
|
style: Theme.of(context).textTheme.bodyMedium,
|
||||||
|
Reference in New Issue
Block a user