mirror of
https://github.com/esiur/iui.git
synced 2025-05-06 06:42:58 +00:00
Add placeholder
This commit is contained in:
parent
3c0c3743f8
commit
b759ece1e5
@ -57,7 +57,7 @@ export default IUI.module(class Input extends IUIElement {
|
|||||||
this._span.innerHTML = this.getAttribute("caption");
|
this._span.innerHTML = this.getAttribute("caption");
|
||||||
|
|
||||||
this._input = document.createElement("input");
|
this._input = document.createElement("input");
|
||||||
this._input.placeholder = " ";
|
this._input.placeholder = this.getAttribute("placeholder") || "";
|
||||||
|
|
||||||
let self = this;
|
let self = this;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user