forked from 0x2620/oxjs
add error handling in listmap, improve setting the error class in inputs and arrayinputs
This commit is contained in:
parent
a5a833f3c1
commit
bbef38f0a9
3 changed files with 112 additions and 72 deletions
|
|
@ -810,6 +810,7 @@ Ox.Input = function(options, self) {
|
|||
self.options.value = self.options.value.toFixed(self.options.decimals);
|
||||
}
|
||||
self.$input.val(self.options.value);
|
||||
that.is('.OxError') && that.removeClass('OxError');
|
||||
setPlaceholder();
|
||||
} else if (key == 'width') {
|
||||
that.css({width: self.options.width + 'px'});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue