We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bug Type: Component
Component
3.3.4
2.7.2
Chrome 80
Vite
el-date-picker
el-time-picker
el-time-select
Element Plus Playground
<script setup lang="ts"> import { ref, version as vueVersion } from 'vue' import { version as epVersion } from 'element-plus' import { ElementPlus } from '@element-plus/icons-vue' const msgup = ref('') const msgdown = ref('') const msgpress = ref('') const value1 = ref('') function keyup(ev){ msgup.value = ev.type } function keydown(ev){ msgdown.value = ev.type } function keypress(ev){ msgpress.value = ev.type } </script> <template> <h1>{{ msgup }}</h1> <h1>{{ msgdown }}</h1> <h1>{{ msgpress }}</h1> <el-time-picker v-model="value1" @keyup="keyup($event)" @keydown="keydown($event)" @keypress="keypress($event)" placeholder="Arbitrary time" /> <p> <el-icon color="var(--el-color-primary)"><ElementPlus /></el-icon> Element Plus {{ epVersion }} + Vue {{ vueVersion }} </p> </template>
正常触发配置的keyup keypress事件函数
无法触发配置的keyup keypress事件函数
(empty)
The text was updated successfully, but these errors were encountered:
Can you describe a specific scenario where you would need them?
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Bug Type:
Component
Environment
3.3.4
2.7.2
Chrome 80
Vite
Reproduction
Related Component
el-date-picker
el-time-picker
el-time-select
Reproduction Link
Element Plus Playground
Steps to reproduce
What is Expected?
正常触发配置的keyup keypress事件函数
What is actually happening?
无法触发配置的keyup keypress事件函数
Additional comments
(empty)
The text was updated successfully, but these errors were encountered: