-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
b-form-select throws error el[assignKey] is not a function #7198
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Same issue here |
Same issue occurred in my project, any solution identified right now? |
I found a workaround that works in my case: onMounted(() => {
const select = document.getElementById(props.id)
if (select) {
select.addEventListener('change', (e) => {
e.stopPropagation()
value.value = e.target?.value
}, true)
}
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When i'm using b-form-select component, and I try to select an option, it throws an error "el[assignKey] is not a function".
Steps to reproduce the bug
<main.js>
import Vue from 'vue'
import { BootstrapVue, IconsPlugin } from 'bootstrap-vue'
Vue.use(BootstrapVue)
Vue.use(IconsPlugin)
<Form.vue>
Run project and try to select an option in select field.
See error.
Expected behavior
It was expected that the clicked option would be selected in the field, without any error being displayed.
Versions
Libraries:
Environment:
The text was updated successfully, but these errors were encountered: