ElemeFE / ElemeFE/element

[Bug Report] el-table-column slot="header"中使用el-input存在输入bug

Open
#22,747 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.2

### OS/Browsers version
windows10/chorme 120.0.6099.28(正式版本)beta (64 位)

### Vue version
2.6.10

### Reproduction Link
https://codepen.io/Ordinary10/pen/poqvNVO

### Steps to reproduce
1、创建el-table。
2、使用el-table-column的slot="header"。
3、自定义header插槽中使用el-input组件。
4、输入时,触发input事件,但是会立刻清空输入的值。
5、在el-table-column中增加slot-scope="scope",该bug消失。
6、在el-table中添加:header-cell-style="{color: 'red'}",bug消失。style样式设置任意属性值都行,但是只能是Object,设置Function回调依然存在bug。
7、可能存在其他组合情况。

### What is Expected?
输入框正常输入

### What is actually happening?
输入框在组件特定配置时,输入交互异常

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.