tabview body not showing when cell is empty

hello,

I’m trying to generate a simple tabview where user can add and remove tabs.

I’m having trouble with tabview when the user removes all the tabs and adds a new one.

it seems like the body of the newly added tab is missing (the generated div is empty).

snippet here

https://snippet.webix.com/8e0lv1p4

removing all the tabs and adding new one makes the body disappear.

also, I couldn’t generate a tabview with empty cell, although I think this was intentional?

I was able to get around this by having the cell have a hidden tab via

		{
			hidden:true,
			header:"empty",
			body:{id:"empty_template" , template:"" }
		}

but was wondering if there is any other way to do this?

Hello,

I can recommend you don’t remove the first tab like this https://snippet.webix.com/pt6lpwgf

Please note if you use hidden:true it should work like this

 {
            header:"empty",
            body:{id:"empty_template" , template:"", hidden:true }
}