From 1445672dc9e1f874f48cea3faaff4f707030bf25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matou=C5=A1=20Volf?= <66163112+matous-volf@users.noreply.github.com> Date: Mon, 9 Sep 2024 07:33:09 +0200 Subject: [PATCH] feat: remove the non-functioning input autofocus --- src/components/task_form.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/components/task_form.rs b/src/components/task_form.rs index 527819d..b6e6a42 100644 --- a/src/components/task_form.rs +++ b/src/components/task_form.rs @@ -152,7 +152,6 @@ pub(crate) fn TaskForm(task: Option, on_successful_submit: EventHandler<() name: "title", required: true, initial_value: task.as_ref().map(|task| task.title().to_owned()), - autofocus: task.is_none(), r#type: "text", class: "py-2 px-3 grow bg-zinc-800/50 rounded-lg", id: "input_title"