From 45f6e003c4be1f4ffc910b8c21fb2e26bebe7366 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 | 69 ++++++++++--------- 2 files changed, 36 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..75958fc4 100644 --- a/src/components/shadow_control/shadow_control.vue +++ b/src/components/shadow_control/shadow_control.vue @@ -1,7 +1,7 @@