2
0
mirror of https://github.com/esiur/iui.git synced 2025-05-06 06:42:58 +00:00

Add placeholder

This commit is contained in:
Mohammed Salman 2022-02-16 19:07:26 +03:00
parent 3c0c3743f8
commit b759ece1e5

View File

@ -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;