+ {isEditing
+ ? "Update the follow-up task linked to this audit question."
+ : "Create a follow-up task from this audit question."}
+
+
+
+
+
+ setTitle(event.target.value)}
+ className="mt-1 w-full rounded-lg border border-slate-300 px-3 py-2 text-sm"
+ />
+
+
+
+
+
+
+ {showStatus ? (
+
+
+
+
+ ) : null}
+
+
+
Priority
+
+ {PRIORITY_OPTIONS.map((option) => (
+
+ ))}
+
+
+
+
+
+ setDueDate(event.target.value)}
+ className="mt-1 w-full max-w-xs rounded-lg border border-slate-300 px-3 py-2 text-sm"
+ />
+
+
+
+ {error ? (
+