diff --git a/frontend/components/Base/Modal.vue b/frontend/components/Base/Modal.vue index 6939f929c..b1ea21c22 100644 --- a/frontend/components/Base/Modal.vue +++ b/frontend/components/Base/Modal.vue @@ -41,6 +41,10 @@ type: Boolean, default: true, }, + clickOutsideToClose: { + type: Boolean, + default: false, + }, }); const modalBox = ref(); @@ -51,9 +55,11 @@ } } - onClickOutside(modalBox, () => { - close(); - }); + if (props.clickOutsideToClose) { + onClickOutside(modalBox, () => { + close(); + }); + } function close() { if (props.readonly) { diff --git a/frontend/components/Form/Multiselect.vue b/frontend/components/Form/Multiselect.vue index 91e1a27ad..e5420a406 100644 --- a/frontend/components/Form/Multiselect.vue +++ b/frontend/components/Form/Multiselect.vue @@ -4,7 +4,10 @@ {{ label }}