You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading in an initial value into a text box with the library enabled will mean the placeholder is drawn under the text.
I tried to call various events to fix this issue but found a small change to the code based worked by hiding the placeholder if there is already a value in the text box:
createShell : function (t) {
....
mask.appendChild(emphasis);
//Don't add placeholder if data already exists
if (t.value.length == 0) {
mask.appendChild(placeholder);
}
....
}
The text was updated successfully, but these errors were encountered:
Loading in an initial value into a text box with the library enabled will mean the placeholder is drawn under the text.
I tried to call various events to fix this issue but found a small change to the code based worked by hiding the placeholder if there is already a value in the text box:
The text was updated successfully, but these errors were encountered: