X-Git-Url: http://git.roojs.org/?p=roojs1;a=blobdiff_plain;f=Roo%2Fbootstrap%2FInput.js;fp=Roo%2Fbootstrap%2FInput.js;h=f50b0d67cd8b520d2452ce844dcb3d0b9d4c073d;hp=35b33161027fdc1ec3109414923aeac2ce33a946;hb=267f6bc0ecf0897515863c3c91a8eea23388e273;hpb=4806a3a6a72a6fc861a138965a6b1b5df60d0c87 diff --git a/Roo/bootstrap/Input.js b/Roo/bootstrap/Input.js index 35b3316102..f50b0d67cd 100644 --- a/Roo/bootstrap/Input.js +++ b/Roo/bootstrap/Input.js @@ -33,6 +33,7 @@ * @cfg {String} indicatorpos (left|right) default left * @cfg {String} capture (user|camera) use for file input only. (default empty) * @cfg {String} accept (image|video|audio) use for file input only. (default empty) + * @cfg {Boolean} preventMark Do not show tick or cross if error/success * @cfg {String} align (left|center|right) Default left * @cfg {Boolean} forceFeedback (true|false) Default false @@ -924,6 +925,7 @@ Roo.extend(Roo.bootstrap.Input, Roo.bootstrap.Component, { return; } + if(this.allowBlank && !this.getRawValue().length){ return; }