增加placeholder
parent
55b2c910bd
commit
bcb294a135
|
@ -14,6 +14,7 @@ class TextArea extends Component {
|
||||||
attribute: false
|
attribute: false
|
||||||
},
|
},
|
||||||
type: '',
|
type: '',
|
||||||
|
placeholder: '',
|
||||||
autofocus: false,
|
autofocus: false,
|
||||||
readOnly: false,
|
readOnly: false,
|
||||||
disabled: false,
|
disabled: false,
|
||||||
|
@ -217,6 +218,7 @@ class TextArea extends Component {
|
||||||
:value=${this.value}
|
:value=${this.value}
|
||||||
ref="textarea"
|
ref="textarea"
|
||||||
spellcheck="false"
|
spellcheck="false"
|
||||||
|
placeholder=${this.placeholder}
|
||||||
readonly=${this.readOnly}
|
readonly=${this.readOnly}
|
||||||
disabled=${this.disabled}
|
disabled=${this.disabled}
|
||||||
maxlength=${this.maxlength}
|
maxlength=${this.maxlength}
|
||||||
|
|
Loading…
Reference in New Issue