-
-
Notifications
You must be signed in to change notification settings - Fork 174
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
If I create a modal with useModal where the title is defined in an external component, it does not display. This began with the v0.40.0 release. e.g.
MyModal.vue:
<template>
<BModal title="My title">This is a modal.</BModal>
</template>Calling component:
<script setup>
import { useModal } from 'bootstrap-vue-next';
const { create } = useModal();
const showModal = () => create({ component: MyModal }).show();
</script>If I add the title prop directly to the create() call, then it displays fine.
Reproduction
Used Package Manager
pnpm
Copilot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working