From d234ad8672bd927b4f1147ee57c08be81e637b4c Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Sat, 28 Sep 2024 20:20:51 +0300 Subject: [PATCH] properly support "disabled" state of contoller --- .../shadow_control/shadow_control.js | 2 +- .../shadow_control/shadow_control.vue | 68 +++++++++---------- 2 files changed, 35 insertions(+), 35 deletions(-) diff --git a/src/components/shadow_control/shadow_control.js b/src/components/shadow_control/shadow_control.js index 9b946e90..451180f4 100644 --- a/src/components/shadow_control/shadow_control.js +++ b/src/components/shadow_control/shadow_control.js @@ -34,7 +34,7 @@ const toModel = (object = {}) => ({ export default { props: [ - 'modelValue', 'fallback', 'separateInset', 'noPreview' + 'modelValue', 'fallback', 'separateInset', 'noPreview', 'disabled' ], emits: ['update:modelValue'], data () { diff --git a/src/components/shadow_control/shadow_control.vue b/src/components/shadow_control/shadow_control.vue index 050cf820..af24f15a 100644 --- a/src/components/shadow_control/shadow_control.vue +++ b/src/components/shadow_control/shadow_control.vue @@ -1,7 +1,7 @@