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"