chore(react/collections/board): start with no name for new notes

This commit is contained in:
Elian Doran 2025-09-12 23:40:40 +03:00
parent cd3663e041
commit b361cc0630
No known key found for this signature in database
2 changed files with 2 additions and 1 deletions

View File

@ -2006,6 +2006,7 @@
"delete-column": "Delete column",
"delete-column-confirmation": "Are you sure you want to delete this column? The corresponding attribute will be deleted in the notes under this column as well.",
"new-item": "New item",
"new-item-placeholder": "Enter note title...",
"add-column": "Add Column",
"add-column-placeholder": "Enter column name...",
"edit-note-title": "Click to edit note title",

View File

@ -140,7 +140,7 @@ function AddNewItem({ column, api }: { column: string, api: BoardApi }) {
</>
) : (
<TitleEditor
currentValue={t("board_view.new-item")}
placeholder={t("board_view.new-item-placeholder")}
save={(title) => api.createNewItem(column, title)}
dismiss={() => setIsCreatingNewItem(false)}
multiline isNewItem