Add "Select project…" default option to new task dialog

Amolith created

Change summary

templates/base.html | 1 +
1 file changed, 1 insertion(+)

Detailed changes

templates/base.html 🔗

@@ -64,6 +64,7 @@
         <div data-field>
           <label for="nt-project">Project</label>
           <select id="nt-project" aria-label="Project" required>
+            <option value=""{% if active_project.is_none() %} selected{% endif %}>Select project…</option>
             {% for p in all_projects %}
             <option value="{{ p }}"{% if active_project.as_deref() == Some(p.as_str()) %} selected{% endif %}>{{ p }}</option>
             {% endfor %}