From 7cbd917e5160da6cc9d52a773ffe7e5c89cb7851 Mon Sep 17 00:00:00 2001 From: cagataycivici Date: Wed, 1 Jul 2020 20:52:25 +0300 Subject: [PATCH] Updated fileupload and docs --- src/components/fileupload/FileUpload.vue | 12 ++++++------ src/views/dropdown/DropdownDoc.vue | 2 +- src/views/listbox/ListboxDoc.vue | 2 +- src/views/multiselect/MultiSelectDoc.vue | 2 +- src/views/overlaypanel/OverlayPanelDemo.vue | 2 +- src/views/overlaypanel/OverlayPanelDoc.vue | 2 +- src/views/selectbutton/SelectButtonDoc.vue | 2 +- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/components/fileupload/FileUpload.vue b/src/components/fileupload/FileUpload.vue index 64a6e705f..e4f99bd2f 100755 --- a/src/components/fileupload/FileUpload.vue +++ b/src/components/fileupload/FileUpload.vue @@ -1,10 +1,10 @@ @@ -315,21 +315,21 @@ export default { return this.mode === 'basic'; }, advancedChooseButtonClass() { - return ['p-button p-fileupload-choose p-component p-button-text-icon-left', { + return ['p-button p-component p-fileupload-choose ', { 'p-disabled': this.disabled, 'p-focus': this.focused } ]; }, basicChooseButtonClass() { - return ['p-button p-fileupload-choose p-component p-button-text-icon-left', { + return ['p-button p-component p-fileupload-choose ', { 'p-fileupload-choose-selected': this.hasFiles, 'p-disabled': this.disabled, 'p-focus': this.focused }]; }, basicChooseButtonIconClass() { - return ['p-button-icon-left pi', { + return ['p-button-icon p-button-icon-left pi', { 'pi-plus': !this.hasFiles || this.auto, 'pi-upload': this.hasFiles && !this.auto }]; diff --git a/src/views/dropdown/DropdownDoc.vue b/src/views/dropdown/DropdownDoc.vue index b52b6b26f..d902e602b 100755 --- a/src/views/dropdown/DropdownDoc.vue +++ b/src/views/dropdown/DropdownDoc.vue @@ -152,7 +152,7 @@ data() { dataKey string null - A property to uniquely match the value in options for better performance. + A property to uniquely identify an option. showClear diff --git a/src/views/listbox/ListboxDoc.vue b/src/views/listbox/ListboxDoc.vue index 557fb59d3..d189386b9 100755 --- a/src/views/listbox/ListboxDoc.vue +++ b/src/views/listbox/ListboxDoc.vue @@ -116,7 +116,7 @@ data() { dataKey string false - A property to uniquely match the value in options for better performance. + A property to uniquely identify an option. multiple diff --git a/src/views/multiselect/MultiSelectDoc.vue b/src/views/multiselect/MultiSelectDoc.vue index 905a79965..0822ed9e1 100755 --- a/src/views/multiselect/MultiSelectDoc.vue +++ b/src/views/multiselect/MultiSelectDoc.vue @@ -146,7 +146,7 @@ data() { dataKey string null - A property to uniquely match the value in options for better performance. + A property to uniquely identify an option. filterPlaceholder diff --git a/src/views/overlaypanel/OverlayPanelDemo.vue b/src/views/overlaypanel/OverlayPanelDemo.vue index 985617ddc..f910a4d45 100755 --- a/src/views/overlaypanel/OverlayPanelDemo.vue +++ b/src/views/overlaypanel/OverlayPanelDemo.vue @@ -60,7 +60,7 @@ export default { }, onProductSelect(event) { this.$refs.op.hide(); - this.$toast.add({severity:'info', summary: 'Product Select', detail: event.data.name, life: 3000}); + this.$toast.add({severity:'info', summary: 'Product Selected', detail: event.data.name, life: 3000}); } }, components: { diff --git a/src/views/overlaypanel/OverlayPanelDoc.vue b/src/views/overlaypanel/OverlayPanelDoc.vue index 972374f36..1be9172d6 100755 --- a/src/views/overlaypanel/OverlayPanelDoc.vue +++ b/src/views/overlaypanel/OverlayPanelDoc.vue @@ -198,7 +198,7 @@ export default { }, onProductSelect(event) { this.$refs.op.hide(); - this.$toast.add({severity:'info', summary: 'Product Select', detail: event.data.name, life: 3000}); + this.$toast.add({severity:'info', summary: 'Product Selected', detail: event.data.name, life: 3000}); } } } diff --git a/src/views/selectbutton/SelectButtonDoc.vue b/src/views/selectbutton/SelectButtonDoc.vue index 1d48c4ab5..e18a5cc8b 100755 --- a/src/views/selectbutton/SelectButtonDoc.vue +++ b/src/views/selectbutton/SelectButtonDoc.vue @@ -108,7 +108,7 @@ export default { dataKey string null - A property to uniquely match the value in options for better performance. + A property to uniquely identify an option. ariaLabelledBy