From d37f7eb2a0cdfd114b9757618141e78a7377a435 Mon Sep 17 00:00:00 2001 From: Cagatay Civici Date: Tue, 28 Mar 2023 16:41:58 +0300 Subject: [PATCH] Fixed inputStyleSwitch --- layouts/AppConfigurator.vue | 4 ++-- layouts/AppInputStyleSwitch.vue | 30 ------------------------------ plugins/primeVue.js | 2 -- 3 files changed, 2 insertions(+), 34 deletions(-) delete mode 100644 layouts/AppInputStyleSwitch.vue diff --git a/layouts/AppConfigurator.vue b/layouts/AppConfigurator.vue index 3b9ae89e0..7c6431d9b 100755 --- a/layouts/AppConfigurator.vue +++ b/layouts/AppConfigurator.vue @@ -321,7 +321,7 @@ export default { visible: false, scale: 14, scales: [12, 13, 14, 15, 16], - inputStyle: 'filled', + inputStyle: 'outlined', ripple: true }; }, @@ -330,7 +330,7 @@ export default { this.visible = value; }, inputStyle(value) { - this.$primevue.config.inputStyle = value === 'filled'; + this.$primevue.config.inputStyle = value; }, ripple(value) { this.$primevue.config.ripple = value; diff --git a/layouts/AppInputStyleSwitch.vue b/layouts/AppInputStyleSwitch.vue deleted file mode 100644 index b1cd89d60..000000000 --- a/layouts/AppInputStyleSwitch.vue +++ /dev/null @@ -1,30 +0,0 @@ - - - diff --git a/plugins/primeVue.js b/plugins/primeVue.js index cd478f35e..9e22a1b06 100644 --- a/plugins/primeVue.js +++ b/plugins/primeVue.js @@ -100,7 +100,6 @@ import TriStateCheckbox from '@/components/lib/tristatecheckbox/TriStateCheckbox import VirtualScroller from '@/components/lib/virtualscroller/VirtualScroller'; import CodeHighlight from '@/layouts/AppCodeHighlight'; -import AppInputStyleSwitch from '@/layouts/AppInputStyleSwitch'; import DevelopmentSection from '@/layouts/DevelopmentSection'; import DocApiSection from '@/layouts/doc/DocApiSection'; import DocComponent from '@/layouts/doc/DocComponent'; @@ -215,7 +214,6 @@ export default defineNuxtPlugin((nuxtApp) => { nuxtApp.vueApp.component('Galleria', Galleria); nuxtApp.vueApp.component('VirtualScroller', VirtualScroller); - nuxtApp.vueApp.component('AppInputStyleSwitch', AppInputStyleSwitch); nuxtApp.vueApp.component('DevelopmentSection', DevelopmentSection); nuxtApp.vueApp.component('DocSections', DocSections); nuxtApp.vueApp.component('DocSectionText', DocSectionText);