el-autocomplete input change return undefined
Open
stale
- Dominant language
- Vue
- Stars
- 54k
- Forks
- 14.4k
- PR merge metrics
- No merged PRs in 30d
Description
In the last version from element-ui@2.13.1 the component el-autocomplete have an issue when you type anything that is not in the suggestion list and change the focus or keyEnter
Replicate behaviour
- Type a string that is not exist into the suggestion list.
- Click on any part outside the input
Result:
`TypeError: "e.target is undefined"
ui 2.13.1/lib/index.js:1
VueJS 4
ui 2.13.1/lib/index.js:1
VueJS 3`
make reference to the el-input component into the onChange method. this line
`handleChange: function handleChange(event) {
this.$emit('change', event.target.value);
}`
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.