return;
}
- //code
- }
+
if(this.allowBlank && !this.getRawValue().length){
return;
}
"version": 3,
"file": "bootstrap.css",
"sources": [
- "../../../../../tmp/scss3QIii6",
+ "../../../../../tmp/scsstgMQQt",
"../scss/bootstrap/_functions.scss",
"../scss/bootstrap/_variables.scss",
"../scss/bootstrap/bootstrap.scss",
"version": 3,
"file": "bootstrap.min.css",
"sources": [
- "../../../../../tmp/scss3QIii6",
+ "../../../../../tmp/scsstgMQQt",
"../scss/bootstrap/_functions.scss",
"../scss/bootstrap/_variables.scss",
"../scss/bootstrap/bootstrap.scss",
"version": 3,
"file": "roojs-bootstrap-debug.css",
"sources": [
- "../../../../../tmp/scssRmAer5",
+ "../../../../../tmp/scssYzCtPq",
"../scss/bootstrap/_functions.scss",
"../scss/bootstrap/_variables.scss",
"../scss/roojs-bootstrap/roojs-bootstrap.scss",
"version": 3,
"file": "roojs-bootstrap.css",
"sources": [
- "../../../../../tmp/scssRmAer5",
+ "../../../../../tmp/scssYzCtPq",
"../scss/bootstrap/_functions.scss",
"../scss/bootstrap/_variables.scss",
"../scss/roojs-bootstrap/roojs-bootstrap.scss",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "queryDelay",
"type" : "Number",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "- placeholder to put in text.",
"memberOf" : ""
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : ""
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "queryDelay",
"type" : "Number",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "default []",
"memberOf" : ""
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "pwdStrengths",
"type" : "String/Object",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
"desc" : "- placeholder to put in text.",
"memberOf" : "Roo.bootstrap.Input"
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input"
+ },
{
"name" : "readOnly",
"type" : "Boolean",
* @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
</span><span class="jsdoc-keyword">return</span><span class="jsdoc-syntax">;
}
+
</span><span class="jsdoc-keyword">if</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">this.allowBlank </span><span class="jsdoc-syntax">&& !</span><span class="jsdoc-var">this.getRawValue</span><span class="jsdoc-syntax">()</span><span class="jsdoc-var">.length</span><span class="jsdoc-syntax">){
</span><span class="jsdoc-keyword">return</span><span class="jsdoc-syntax">;
}
</span><span class="jsdoc-var">cls</span><span class="jsdoc-syntax">: </span><span class="jsdoc-string">'glyphicon form-control-feedback'
</span><span class="jsdoc-syntax">};
- </span><span class="jsdoc-keyword">if</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">this.removable </span><span class="jsdoc-syntax">&& !</span><span class="jsdoc-var">this.editable </span><span class="jsdoc-syntax">&& !</span><span class="jsdoc-var">this.tickable</span><span class="jsdoc-syntax">){
+ </span><span class="jsdoc-keyword">if</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">this.removable </span><span class="jsdoc-syntax">&& !</span><span class="jsdoc-var">this.editable </span><span class="jsdoc-syntax">){
</span><span class="jsdoc-var">inputblock </span><span class="jsdoc-syntax">= {
</span><span class="jsdoc-var">cls </span><span class="jsdoc-syntax">: </span><span class="jsdoc-string">'has-feedback'</span><span class="jsdoc-syntax">,
</span><span class="jsdoc-var">cn </span><span class="jsdoc-syntax">: [
}
} </span><span class="jsdoc-keyword">else </span><span class="jsdoc-syntax">{
- </span><span class="jsdoc-keyword">if</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">this.removable </span><span class="jsdoc-syntax">&& !</span><span class="jsdoc-var">this.editable </span><span class="jsdoc-syntax">&& !</span><span class="jsdoc-var">this.tickable</span><span class="jsdoc-syntax">){
+ </span><span class="jsdoc-keyword">if</span><span class="jsdoc-syntax">(</span><span class="jsdoc-var">this.removable </span><span class="jsdoc-syntax">&& !</span><span class="jsdoc-var">this.editable </span><span class="jsdoc-syntax">){
</span><span class="jsdoc-var">inputblock </span><span class="jsdoc-syntax">= {
</span><span class="jsdoc-var">cls </span><span class="jsdoc-syntax">: </span><span class="jsdoc-string">'roo-removable'</span><span class="jsdoc-syntax">,
</span><span class="jsdoc-var">cn </span><span class="jsdoc-syntax">: [
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.CheckBox",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.ComboBox",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "accept",
"type" : "String",
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.DateField",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.TextArea",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.TextArea",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.ComboBox",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "accept",
"type" : "String",
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.PhoneInput",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.TextArea",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.TextArea",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Component",
"optvals" : []
},
- {
- "name" : "blankText",
- "type" : "String",
- "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
- "memberOf" : "Roo.bootstrap.Input",
- "optvals" : []
- },
{
"name" : "before",
"type" : "string",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "blankText",
+ "type" : "String",
+ "desc" : "Error text to display if the allow blank validation fails (defaults to \"This field is required\")",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "selectOnFocus",
"type" : "Boolean",
"memberOf" : "Roo.bootstrap.Input",
"optvals" : []
},
+ {
+ "name" : "preventMark",
+ "type" : "Boolean",
+ "desc" : "Do not show tick or cross if error/success",
+ "memberOf" : "Roo.bootstrap.Input",
+ "optvals" : []
+ },
{
"name" : "forceFeedback",
"type" : "Boolean",