refactor(Modal component): don't pass the properies to the v-bind of the bootstrap modal (title prop was added as an attribute to modal div, creating a tooltip)

This commit is contained in:
SimonGschnell
2025-07-15 13:16:39 +02:00
parent 9e06f1468a
commit c91b2481eb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -75,7 +75,7 @@ export default {
return BsModal.popup.bind(this)(null, options);
},
template: /*html*/ `
<bs-modal ref="modalContainer" @showBsModal="onModalShow" @hideBsModal="onHideModal" v-bind="$props" :bodyClass="''" dialogClass='modal-lg' class="bootstrap-alert" :backdrop="false" >
<bs-modal ref="modalContainer" @showBsModal="onModalShow" @hideBsModal="onHideModal" :bodyClass="''" dialogClass='modal-lg' class="bootstrap-alert" :backdrop="false" >
<template v-slot:title>
<slot name="modalTitle"></slot>
</template>
@@ -189,7 +189,7 @@ export default {
return BsModal.popup(null, options);
},
template: /*html*/ `
<bs-modal v-show="!loading" ref="modalContainer" v-bind="$props" body-class="" dialog-class="modal-lg" class="bootstrap-alert" :backdrop="false">
<bs-modal v-show="!loading" ref="modalContainer" body-class="" dialog-class="modal-lg" class="bootstrap-alert" :backdrop="false">
<template v-if="title" v-slot:title>{{title}}</template>
<template v-slot:default>
<div>