IDuxFE/idux

[select]在中文输入法状态下输入英文字母,点击enter键生成标签后,会多出输入的字母

myx-123 opened this issue · 0 comments

  • I have searched the issues of this repository and believe that this is not a duplicate.

Reproduction link

https://playground.idux.site/#eyJQbGF5Z3JvdW5kQXBwLnZ1ZSI6Ijx0ZW1wbGF0ZT5cbiAgPEl4RHJhd2VyUHJvdmlkZXI+XG4gICAgPEl4Tm90aWZpY2F0aW9uUHJvdmlkZXI+XG4gICAgICA8SXhNb2RhbFByb3ZpZGVyPlxuICAgICAgICA8SXhNZXNzYWdlUHJvdmlkZXI+XG4gICAgICAgICAgPEFwcCAvPlxuICAgICAgICA8L0l4TWVzc2FnZVByb3ZpZGVyPlxuICAgICAgPC9JeE1vZGFsUHJvdmlkZXI+XG4gICAgPC9JeE5vdGlmaWNhdGlvblByb3ZpZGVyPlxuICA8L0l4RHJhd2VyUHJvdmlkZXI+XG48L3RlbXBsYXRlPlxuXG48c2NyaXB0IGxhbmc9XCJ0c1wiIHNldHVwPlxuaW1wb3J0IHsgc2V0dXBJZHV4IH0gZnJvbSAnLi9zZXR1cElkdXguanMnXG5pbXBvcnQgQXBwIGZyb20gJy4vQXBwLnZ1ZSdcbnNldHVwSWR1eCgpXG48L3NjcmlwdD5cbiIsIkFwcC52dWUiOiI8dGVtcGxhdGU+XG4gIDxJeFNwYWNlPlxuICAgIDxJeFNlbGVjdFxuICAgICAgdi1tb2RlbDp2YWx1ZT1cIm11bHRpcGxlVmFsdWVcIlxuICAgICAgOmRhdGFTb3VyY2U9XCJkYXRhU291cmNlXCJcbiAgICAgIGFsbG93SW5wdXRcbiAgICAgIG11bHRpcGxlXG4gICAgICBwbGFjZWhvbGRlcj1cIkFsbG93IGlucHV0XCJcbiAgICAgIEBjaGFuZ2U9XCJvbkNoYW5nZVwiXG4gICAgPlxuICAgIDwvSXhTZWxlY3Q+XG4gIDwvSXhTcGFjZT5cbjwvdGVtcGxhdGU+XG48c2NyaXB0IHNldHVwIGxhbmc9XCJ0c1wiPlxuaW1wb3J0IHsgcmVmIH0gZnJvbSAndnVlJ1xuXG5pbXBvcnQgeyBTZWxlY3REYXRhIH0gZnJvbSAnQGlkdXgvY29tcG9uZW50cy9zZWxlY3QnXG5cbmNvbnN0IGRhdGFTb3VyY2U6IFNlbGVjdERhdGFbXSA9IFtcbiAgeyBrZXk6ICd0b20nLCBsYWJlbDogJ1RvbScgfSxcbiAgeyBrZXk6ICdqZXJyeScsIGxhYmVsOiAnSmVycnknIH0sXG4gIHsga2V5OiAnc3BlaWtlJywgbGFiZWw6ICdTcGVpa2UnIH0sXG5dXG5cbmNvbnN0IHNpbmdsZVZhbHVlID0gcmVmKCd0b20nKVxuY29uc3QgbXVsdGlwbGVWYWx1ZSA9IHJlZihbJ3RvbSddKVxuXG5jb25zdCBvbkNoYW5nZSA9ICh2YWx1ZTogc3RyaW5nLCBvbGRWYWx1ZTogc3RyaW5nKSA9PiB7XG4gIGNvbnNvbGUubG9nKCdzZWxlY3RlZCBjaGFuZ2U6ICcsIHZhbHVlLCBvbGRWYWx1ZSlcbn1cbjwvc2NyaXB0PiJ9

Steps to reproduce

[select]组件在中文输入法状态下输入英文字母,点击回车键生成标签后,会多出输入的字母

What is expected?

select组件在中文输入法状态下输入英文字母,点击enter键生成标签后,不会多出输入的字母

What is actually happening?

image

Environment Info

Any additional comments? (optional)