--- /dev/null
+Roo.example = Roo.example || {};
+
+Roo.example.multiLineTag = new Roo.XComponent({
+ part : ["example","multiLineTag"],
+ order : '001-viewpanel',
+ region : '',
+ parent : false,
+ name : "unnamed module",
+ disabled : false,
+ permname : '',
+ _tree : function()
+ {
+
+ return {
+ xtype: 'Body',
+ xns: Roo.bootstrap,
+ items : [
+ {
+ xtype: 'Container',
+ xns: Roo.bootstrap,
+ items : [
+ {
+ xtype: 'Row',
+ xns: Roo.bootstrap,
+ items : [
+ {
+ xtype: 'Form',
+ xns: Roo.bootstrap,
+ items : [
+ {
+ xtype: 'MultiLineTag',
+ xns: Roo.bootstrap.form,
+ displayField : 'name',
+ valueField : 'name',
+ placeholder : 'Corporate, CSR, ESG Product',
+ queryParam : 'query[name]',
+ url : 'http://localhost/web.MediaOutreach.publisher/index.local.php/Roo/Core_company',
+ fields : [
+ {
+ 'name' : 'id',
+ 'type' : 'int'
+ },
+ {
+ 'name' : 'name',
+ 'type' : 'string'
+ }
+ ],
+ fieldLabel : 'Type of news:<br>(PR Campaign Intelligence)',
+ labelWidth : 0,
+ listeners : {
+ render : function(_self) {
+ window.qwer = _self;
+ },
+ beforeload : function(_self, store, options) {
+ options.params = options.params || {};
+ options.params._clients = 1;
+ },
+ change : function(_self, newValue, oldValue) {
+ Roo.log(_self.getValue());
+ }
+ }
+ }
+ ]
+ }
+ ]
+ }
+ ]
+ },
+
+ ]
+ };
+ }
+});
\ No newline at end of file