AAE-18890 Disable attach file in form preview mode (#9469)

This commit is contained in:
Ehsan Rezaei
2024-03-27 13:28:26 +01:00
committed by GitHub
parent f66342df2f
commit 55a306c7b2
4 changed files with 45 additions and 17 deletions

View File

@@ -83,4 +83,8 @@ export class FormService implements FormValidationService {
}
return null;
}
getPreviewState(): boolean {
return false;
}
}

View File

@@ -35,7 +35,10 @@
"TITLE": "Start Form"
},
"PREVIEW": {
"IMAGE_NOT_AVAILABLE": "Preview not available"
"IMAGE_NOT_AVAILABLE": "Preview not available",
"ATTACH_FILE_WIDGET": {
"ON_ATTACH_FILE_CLICK": "In preview mode you cannot attach a file"
}
},
"FIELD": {
"LOCALSTORAGE": "Local storage",