EagleTsui

Results 6 comments of EagleTsui

Hi, I face same problem, I cannot get bvModal by composition API. In my investigation, the following will work for me. **const bvModal = (getCurrentInstance() as any).ctx._bv__modal as BvModal**

> @EagleTsui Thank you! `getCurrentInstance()` was the magic I was missing. > > So, for other people who run into this, you _have_ to call `getCurrentInstance()` from inside of the...

> But there seems to be no problem in [the official website](https://bootstrap-vue.org/docs/components/form-tags). The official website is using Vue 2, the Vue 3 version v2.23.1 released by [xanf](https://github.com/xanf). The Vue 2...

> Hypothetically you could use https://github.com/cdmoro/bootstrap-vue-3 and only import this component. Is bootsrap-vue will be obsoleted? if not that any plan to resolve this issue?

> > > > > Hypothetically you could use https://github.com/cdmoro/bootstrap-vue-3 and only import this component. > > > > > > > > > > > > Is bootsrap-vue will...

You need remove it manually. Please see below coding `import { createApp, configureCompat, reactive } from 'vue'; configureCompat({ WATCH_ARRAY: 'suppress-warning', RENDER_FUNCTION: 'suppress-warning', INSTANCE_LISTENERS: 'suppress-warning', COMPONENT_FUNCTIONAL: 'suppress-warning', OPTIONS_BEFORE_DESTROY: 'suppress-warning', INSTANCE_SCOPED_SLOTS: 'suppress-warning',...