I have a problem with using ant-design-vue@3.x, @ant-design/icons-vue@6.1.0with vite-ssr. I found all icons usage from ant-design-vue like <a-select> just render icon once. E.g. <a-select> with multiple mode, only one remove icon and checked icon was rendered when I selected multiple options.
macOS Monterey version 12.4, Google Chrome Version 102.0.5005.115 (Official Build) (x86_64), Vue@3.2.37, ant-design-vue@3.2.7, @ant-design/icons-vue@6.1.0
Steps to reproduce
Setup a vite with ssr project by 'vite-ssr' module.
Add <a-select mode="multiple"> into component, select multiple options.
Only one selected options in <a-select> has remove icon, checked icon in select options list also have this problem.
What is expected?
All selected options should have remove icon after its label.
What is actually happening?
Only one selected options in <a-select> has remove icon.
Hi, thanks for your great libraries about Antd.
I have a problem with using
ant-design-vue@3.x
,@ant-design/icons-vue@6.1.0
with vite-ssr. I found all icons usage fromant-design-vue
like<a-select>
just render icon once. E.g.<a-select>
with multiple mode, only one remove icon and checked icon was rendered when I selected multiple options.Reproduction link
https://stackblitz.com/edit/vitejs-vite-evglmf?file=src%2FApp.vue
Environment
macOS Monterey version 12.4, Google Chrome Version 102.0.5005.115 (Official Build) (x86_64), Vue@3.2.37, ant-design-vue@3.2.7, @ant-design/icons-vue@6.1.0
Steps to reproduce
<a-select mode="multiple">
into component, select multiple options.<a-select>
has remove icon, checked icon in select options list also have this problem.What is expected?
All selected options should have remove icon after its label.
What is actually happening?
Only one selected options in
<a-select>
has remove icon.Withour SSR(Works) reproduction link: https://stackblitz.com/edit/vitejs-vite-c6xqfq?file=src%2FApp.vue
I have also fire this issue in vite-ssr repo, ant-design-vue repo. Sorry for my English.