minimumRow : 2,
// for combo box
- displayField : 'name',
- valueField : 'name',
+ displayField : '',
+ valueField : '',
placeholder : '',
queryParam : '',
listWidth : 300,
// for combo box store
- url : '',
- fields : [
- {
- 'name' : 'id',
- 'type' : 'int'
- },
- {
- 'name' : 'name',
- 'type' : 'string'
- }
- ],
+ url : undefined,
+ fields : [],
getAutoCreate : function()
{
var config = {
- cls : 'roo-multi-line-tag'
+ tag : 'row',
+ cls : 'roo-multi-line-tag',
+ cn : [
+ tag : 'column'
+ ]
};
return config;
this.showHideRemoveBtn();
},
- // show remove buttons only if there are more than {minimumRow} tags
+ // hide all remove buttons if there are {minimumRow} or less tags
+ // hide the remove button for empty tag
showHideRemoveBtn : function()
{
var _this = this;
this.addTagRow();
}
+ },
+
+ getChildContainer : function()
+ {
+ Roo.log('GET CHILD CONTAINER');
+ Roo.log(this);
+ return this.el;
}
});