throw "can not find store for combo";
}
+ this.indicator = this.indicatorEl();
+
this.store = Roo.factory(this.store, Roo.data);
this.store.parent = this;
{
var dv = ''; // display value
+ Roo.log(o);
+
if (this.displayField) {
dv = !o || typeof(o[this.displayField]) == 'undefined' ? '' : o[this.displayField];
} else {
var labelCfg = cfg.cn[1];
var contentCfg = cfg.cn[2];
+
if(this.indicatorpos == 'right'){
-
cfg.cn = [
{
tag: 'label',
+ 'for' : id,
cls : 'control-label',
- html : this.fieldLabel
-
- },
- {
- tag : 'i',
- cls : 'roo-required-indicator left-indicator text-danger fa fa-lg fa-star',
- tooltip : 'This field is required'
+ cn : [
+ {
+ tag : 'span',
+ html : this.fieldLabel
+ },
+ {
+ tag : 'i',
+ cls : 'roo-required-indicator right-indicator text-danger fa fa-lg fa-star',
+ tooltip : 'This field is required'
+ }
+ ]
},
{
- cls : '',
+ cls : "",
cn: [
combobox
]
}
+
];
+
labelCfg = cfg.cn[0];
contentCfg = cfg.cn[1];
}