Make new file and folder name a required field

This commit is contained in:
Johannes Zellner
2025-06-12 00:24:28 +02:00
parent bb3aae46c5
commit 00da650524
+2
View File
@@ -108,6 +108,7 @@ async function onNewFile() {
const newFileName = await inputDialog.value.prompt({
message: t('filemanager.newFileDialog.title'),
value: '',
required: true,
confirmStyle: 'success',
confirmLabel: t('filemanager.newFileDialog.create'),
rejectLabel: t('main.dialog.cancel'),
@@ -124,6 +125,7 @@ async function onNewFolder() {
const newFolderName = await inputDialog.value.prompt({
message: t('filemanager.newDirectoryDialog.title'),
value: '',
required: true,
confirmStyle: 'success',
confirmLabel: t('filemanager.newFileDialog.create'),
rejectLabel: t('main.dialog.cancel'),