Merge remote-tracking branch 'origin/form' into form

pull/1/head
David Benqué 4 years ago
commit 733c788c34

@ -961,7 +961,7 @@ define([
evOnChange.fire();
}, 500);
$text.on('change keypress', function () {
$text.on('change keypress keyup keydown', function () {
setTimeout(updateChar);
evChange();
});
@ -970,7 +970,10 @@ define([
return {
tag: tag,
getValue: function () { return $text.val().slice(0, opts.maxLength); },
setValue: function (val) { $text.val(val); },
setValue: function (val) {
$text.val(val);
updateChar();
},
edit: function (cb, tmp) {
var v = Util.clone(opts);
return editTextOptions(v, setCursorGetter, cb, tmp);

Loading…
Cancel
Save