Open symbolChai opened 2 years ago
2.15.7
chrome 版本 99.0.4844.51
2.6.14
https://codepen.io/pen?&prefill_data_id=507d592e-e9d3-4926-b3e7-13b5fd2d5fc5
<el-input type="text" placeholder="请输入内容" v-model="text" maxlength="10" show-word-limit
el-input 使用 maxlength后, 输入文字, 不会被 xx/10这样的文字计数器遮挡
el-input 使用 maxlength后, 输入文字, 会被 xx/10这样的文字计数器遮挡
自定义类名,通过css修改padding可解决这个问题。
Element UI version
2.15.7
OS/Browsers version
chrome 版本 99.0.4844.51
Vue version
2.6.14
Reproduction Link
https://codepen.io/pen?&prefill_data_id=507d592e-e9d3-4926-b3e7-13b5fd2d5fc5
Steps to reproduce
<el-input type="text" placeholder="请输入内容" v-model="text" maxlength="10" show-word-limit
What is Expected?
el-input 使用 maxlength后, 输入文字, 不会被 xx/10这样的文字计数器遮挡
What is actually happening?
el-input 使用 maxlength后, 输入文字, 会被 xx/10这样的文字计数器遮挡