Skip to content

CSelect not working in IE/Edge #97

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

Closed
ariccy opened this issue May 28, 2020 · 6 comments
Closed

CSelect not working in IE/Edge #97

ariccy opened this issue May 28, 2020 · 6 comments

Comments

@ariccy
Copy link

ariccy commented May 28, 2020

Vue.js version

2.6.11

coreui-vue version

3.0.8

The issue

@input for select element is not supported by IE/Edge.
IE11 <select @input="..."> not firing on selection change.

Vue.js uses change event for v-model on select element internally for this issue.
https://vuejs.org/v2/guide/forms.html

CSelect should also use @change or v-model on select for IE/Edge support.

@woothu
Copy link

woothu commented May 28, 2020

Supported events of components are described in the documentation. https://coreui.io/vue/docs/components/form-components.html#cselect-api

v-model is only shortcut syntax for @input and :value

This library is using '.sync' modifiers

@woothu woothu closed this as completed May 28, 2020
@ariccy
Copy link
Author

ariccy commented May 28, 2020

I am refering to the implementation, not the api.
https://github.com/coreui/coreui-vue/blob/master/src/components/form/CSelect.vue#L22

The @update:value event is never emitted for CSelect on IE/Edge because only @change is support on select.

@woothu
Copy link

woothu commented May 28, 2020

I will check that, thank you for the report

@woothu woothu reopened this May 28, 2020
@woothu
Copy link

woothu commented May 28, 2020

fixed in 3.0.11 version

@woothu woothu closed this as completed May 28, 2020
@ariccy
Copy link
Author

ariccy commented Jun 2, 2020

Hi,
Can you publish the fixed version to npm?
Thank you.

@xidedix
Copy link
Member

xidedix commented Jun 2, 2020

@ariccy 3.0.11 published - thanks for patience

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants