feat: remove the non-functioning input autofocus
This commit is contained in:
parent
024c5a2258
commit
1445672dc9
@ -152,7 +152,6 @@ pub(crate) fn TaskForm(task: Option<Task>, on_successful_submit: EventHandler<()
|
|||||||
name: "title",
|
name: "title",
|
||||||
required: true,
|
required: true,
|
||||||
initial_value: task.as_ref().map(|task| task.title().to_owned()),
|
initial_value: task.as_ref().map(|task| task.title().to_owned()),
|
||||||
autofocus: task.is_none(),
|
|
||||||
r#type: "text",
|
r#type: "text",
|
||||||
class: "py-2 px-3 grow bg-zinc-800/50 rounded-lg",
|
class: "py-2 px-3 grow bg-zinc-800/50 rounded-lg",
|
||||||
id: "input_title"
|
id: "input_title"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user