Subscribe on changes!

vue with element-plus,el-select component,el-option tag must use <el-option></el-option>,can't use <el-option label="xxx" />

avatar
Mar 1st 2024

Vue version

3.4.21

Link to minimal reproduction

https://stackblitz.com/edit/vitejs-vite-fhxema?file=index.html&terminal=dev

Steps to reproduce

select 1 and select 2 can render all option but select 3 only render last one image image

What is expected?

select 3 can render Option7、8、9

What is actually happening?

select 3 only render last one:Option9

System Info

Vue Version: 3.4.21
Element Plus Version: 2.5.6
Browser / OS: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.6045.160
Build Tool: Other

Any additional comments?

I had ask from element-plus contributor ,they say this is bug of vue compiler sfc https://github.com/element-plus/element-plus/issues/16008