diff --git a/www/form/inner.js b/www/form/inner.js index d16a2b474..4120df1df 100644 --- a/www/form/inner.js +++ b/www/form/inner.js @@ -259,9 +259,9 @@ define([ if (placeholder) { input.placeholder = val; input.value = ''; - $(input).change(function () { - input.placeholder = ''; - $(input).off(change); + $(input).on('keypress', function () { + $(input).removeAttr('placeholder'); + $(input).off('keypress'); }); } if (uid) { $(input).data('uid', uid); }