ElemeFE / ElemeFE/element

Some properties of El input in [bug report] render function are invalid

Open
#20,643 2 comments 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.14.1

### OS/Browsers version
谷歌版本 72.0.3626.119(正式版本) (64 位)

### Vue version
2.6.11

### Reproduction Link
https://elementui.github.io/issue-generator/#/zh-CN/暂无

### Steps to reproduce
render (h) {
return h('el-form-item', {
props: {
label: this.label,
prop: this.prop
},
style: {},
on: {}
},
[h('el-input', {
attr: {},
props: {
type: this.type,
value: this.value,
clearable: this.clearable,
size: this.size,
placeholder: this.placeholder,
},
domProps: {},
style: {},
'class': {
},
on: {
input: (v) => {
console.log(v)
this.$emit('upvalue', v)
}
}
},
[]
)]
)
}

### What is Expected?
placeholder 有值

### What is actually happening?
placeholder 不显示

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.