Segmented with only one element

Hi

When you create a segemented view with only one element you have one side flat and the other round.

Like here: http://webix.com/snippet/53d28842

I was expecting a behavior more like the bootstrap’s button group, where if you have one button it looks like a button, otherwise it looks pretty much like the segmeneted view.

For instance, in my case, I would like to have segemented with 3 options, but I can change this dynamically to have only one.

Is this the expected behavior?

For info, i’m using webix 3.1 Pro

Thanks in advance for the help.

Hi,

Our segmented control was designed to have at least two options. As a solution, you can use a button or a toggle in the different batch.