feat: remove the non-functioning input autofocus

This commit is contained in:
Matouš Volf 2024-09-09 07:33:09 +02:00
parent 024c5a2258
commit 1445672dc9

View File

@ -152,7 +152,6 @@ pub(crate) fn TaskForm(task: Option<Task>, 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"