Input field: fix readonly mode
This commit is contained in:
parent
858cd7c53e
commit
98415cc6a2
|
@ -73,7 +73,8 @@ define([
|
||||||
maskExp : '',
|
maskExp : '',
|
||||||
validateOnChange: false,
|
validateOnChange: false,
|
||||||
validateOnBlur: true,
|
validateOnBlur: true,
|
||||||
disabled: false
|
disabled: false,
|
||||||
|
editable: true
|
||||||
},
|
},
|
||||||
|
|
||||||
template: _.template([
|
template: _.template([
|
||||||
|
@ -106,7 +107,7 @@ define([
|
||||||
this.allowBlank = me.options.allowBlank;
|
this.allowBlank = me.options.allowBlank;
|
||||||
this.placeHolder = me.options.placeHolder;
|
this.placeHolder = me.options.placeHolder;
|
||||||
this.template = me.options.template || me.template;
|
this.template = me.options.template || me.template;
|
||||||
this.editable = me.options.editable || true;
|
this.editable = me.options.editable;
|
||||||
this.disabled = me.options.disabled;
|
this.disabled = me.options.disabled;
|
||||||
this.spellcheck = me.options.spellcheck;
|
this.spellcheck = me.options.spellcheck;
|
||||||
this.blankError = me.options.blankError || 'This field is required';
|
this.blankError = me.options.blankError || 'This field is required';
|
||||||
|
|
|
@ -11,10 +11,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.form-control[readonly] {
|
//.form-control[readonly] {
|
||||||
cursor: pointer;
|
// cursor: pointer;
|
||||||
background-color: @input-bg;
|
// background-color: @input-bg;
|
||||||
}
|
//}
|
||||||
|
|
||||||
.form-control[disabled] {
|
.form-control[disabled] {
|
||||||
cursor: default;
|
cursor: default;
|
||||||
|
|
Loading…
Reference in a new issue