chore(react/collections/board): fix add on blur if value not changed

This commit is contained in:
Elian Doran 2025-09-12 23:29:13 +03:00
parent c53e927a55
commit cd3663e041
No known key found for this signature in database

View File

@ -253,7 +253,7 @@ export function TitleEditor({ currentValue, placeholder, save, dismiss, multilin
}
}}
onBlur={(newValue) => {
if (newValue !== currentValue) {
if (newValue !== currentValue || isNewItem) {
save(newValue);
}
dismiss();