Element Plus select filterable on mobile
Hi Lauris,
need your help please.
I’m at advanced stage with my application using Vue 3 demo 5.
Today started testing on mobile phone and it occur that when using el-select with filterable ….. when entering this field keyboard does not show.
It is working with multiple option
Facing this I consider to have this field „multiple” but close options after pick a value but I dont know if this is possible. By default options remain open after picking one option. But again I’d like to avoid having this as multiple since I have to pick one option. Filterable is a must.
Lauris do you have idea how to deal with this issue?
Best Regards
Krystian
Replies (4)
Hi Krystian,
There is an issue related to this problem on Element UI Github repo.
https://github.com/ElemeFE/element/issues/12742
Few solutions offered by other users.
- To use autocomplete input field: https://element.eleme.io/#/en-US/component/input#autocomplete
- Using multiple with
:multiple-limit="1"
- Fix select issue using one of the solutions:
https://github.com/ElemeFE/element/issues/12742#issuecomment-851779942
https://github.com/ElemeFE/element/issues/12742#issuecomment-974707326
https://github.com/ElemeFE/element/issues/12742#issuecomment-1124700872
Hi,
thank you. I read this and multiple limit=1 works fine but the only thing ... I`d like to close select automatically after picking one option.
this I`d like to try also ( to have an alternative ) but I dont know how
https://github.com/ElemeFE/element/issues/12742#issuecomment-1124700872
the tip from https://github.com/ElemeFE/element/issues/12742#issuecomment-1124700872
is the best
I educated about custom directives.
Thank you Lauris
Hi Krystian,
Sorry for the late reply.
Glad to hear that you already figurated this out. Please don't hesitate to reach out if you need anything more from us.
Regards,
Lauris Stepanovs,
Keenthemes Support Team