diff --git a/src/components/contextmenu/ContextMenuSub.vue b/src/components/contextmenu/ContextMenuSub.vue
index b9129b6b6..fd45eba3e 100755
--- a/src/components/contextmenu/ContextMenuSub.vue
+++ b/src/components/contextmenu/ContextMenuSub.vue
@@ -19,7 +19,7 @@
-
+
diff --git a/src/components/fileupload/FileUpload.d.ts b/src/components/fileupload/FileUpload.d.ts
index ac9d26c4d..413634f66 100755
--- a/src/components/fileupload/FileUpload.d.ts
+++ b/src/components/fileupload/FileUpload.d.ts
@@ -18,6 +18,8 @@ declare class FileUpload extends Vue {
uploadLabel?: string;
cancelLabel?: string;
customUpload?: boolean;
+ showUploadButton?: boolean;
+ showCancelButton?: boolean;
$emit(eventName: 'select', e: { originalEvent: Event, files: any }): this;
$emit(eventName: 'before-upload', e: { xhr: XMLHttpRequest, formData: any }): this;
$emit(eventName: 'progress', e: { originalEvent: Event, progress: any }): this;
diff --git a/src/components/fileupload/FileUpload.vue b/src/components/fileupload/FileUpload.vue
index d45f04fe3..cc7c815ad 100755
--- a/src/components/fileupload/FileUpload.vue
+++ b/src/components/fileupload/FileUpload.vue
@@ -6,8 +6,8 @@
{{chooseButtonLabel}}
-
-
+
+
@@ -116,6 +116,14 @@ export default {
customUpload: {
type: Boolean,
default: false
+ },
+ showUploadButton: {
+ type: Boolean,
+ default: true
+ },
+ showCancelButton: {
+ type: Boolean,
+ default: true
}
},
duplicateIEEvent: false,
diff --git a/src/components/megamenu/MegaMenu.vue b/src/components/megamenu/MegaMenu.vue
index 528888611..87466b795 100755
--- a/src/components/megamenu/MegaMenu.vue
+++ b/src/components/megamenu/MegaMenu.vue
@@ -35,7 +35,7 @@
-
+
diff --git a/src/components/menu/Menu.vue b/src/components/menu/Menu.vue
index 799fa4c1b..43aa89067 100755
--- a/src/components/menu/Menu.vue
+++ b/src/components/menu/Menu.vue
@@ -7,10 +7,10 @@
-
+
-
+
diff --git a/src/components/menubar/MenubarSub.vue b/src/components/menubar/MenubarSub.vue
index a246bb9ec..e0788e6ed 100755
--- a/src/components/menubar/MenubarSub.vue
+++ b/src/components/menubar/MenubarSub.vue
@@ -18,7 +18,7 @@
-
+
diff --git a/src/components/panelmenu/PanelMenuSub.vue b/src/components/panelmenu/PanelMenuSub.vue
index bcaee77f0..57b34c26c 100755
--- a/src/components/panelmenu/PanelMenuSub.vue
+++ b/src/components/panelmenu/PanelMenuSub.vue
@@ -20,7 +20,7 @@
-
+
diff --git a/src/components/tieredmenu/TieredMenuSub.vue b/src/components/tieredmenu/TieredMenuSub.vue
index 45ff20677..b7073c878 100755
--- a/src/components/tieredmenu/TieredMenuSub.vue
+++ b/src/components/tieredmenu/TieredMenuSub.vue
@@ -18,7 +18,7 @@
-
+
diff --git a/src/views/fileupload/FileUploadDoc.vue b/src/views/fileupload/FileUploadDoc.vue
index a1028cc46..405dc45c0 100755
--- a/src/views/fileupload/FileUploadDoc.vue
+++ b/src/views/fileupload/FileUploadDoc.vue
@@ -215,6 +215,18 @@ myUploader(event) {
false |
Whether to use the default upload or a manual implementation defined in uploadHandler callback. Defaults to PrimeVue Locale configuration. |
+
+ showUploadButton |
+ boolean |
+ true |
+ Whether to show the upload button. |
+
+
+ showCancelButton |
+ boolean |
+ true |
+ Whether to show the cancel button. |
+