var box = {
tag: 'div',
+ style : 'display: contents',
cn: [
{
tag: 'input',
*/
if(!this.tpl){
- this.tpl = '<li><a class="drobpdown-item" href="#">{' + this.displayField + '}</a></li>';
+ this.tpl = Roo.bootstrap.version == 4 ?
+ '<a class="dropdown-item" href="#">{' + this.displayField + '}</a>' : // 4 does not need <li> and it get's really confisued.
+ '<li><a class="dropdown-item" href="#">{' + this.displayField + '}</a></li>';
}
this.view = new Roo.View(this.list, this.tpl, {