Thank you for reporting this bug. We will make it our priority to review this report.
Duplicating template in Combobox
Duplicating template in Combobox
When using viewConfig on combobox to customise dropdown template I'm having issues with instead of overwriting existing template content on each dropdown refresh I get duplicated template (whenever I type in any text in combobox).
This is a sample config I use:
listConfig: {
tpl: '<div><div class="AddNewitem" onclick="NewUnit();"><a>Add new Unit</a></div><ul><tpl for="."><li class="x-boundlist-item">{Unit}</li></tpl></ul></div>',
itemSelector: 'li.x-boundlist-item'
}This part gets duplicated in dropdown on every dropdown refresh:
<div><div class="AddNewitem" onclick="NewUnit();"><a>Add new Unit</a></div><ul></ul></div>Please advice if there is a new way to achieve this sort of customisation with 5.0 or this is just a bug?
lundi 14 avril 2014
Duplicating template in Combobox
Inscription à :
Publier les commentaires (Atom)
Aucun commentaire:
Enregistrer un commentaire