Toggle type as iconButtonTop

I am trying to make a toggle of type iconButtonTop. When clicking the toggle, the icon changes correctly for the onIcon and offIcon, but the label does not change from the initial offLabel.

An example can be found here: Code Snippet

Is this a bug with the toggle? The ui.toggle api documentation for the type property lists iconButtonTop as an available type. It also seems like it is working since the icon is changing.

Hello,
I can confirm the issue. We will add the fix to the version 5.2.
For now here is a temporary workaround: using the onChange event and the refresh method.
Please, check the snippet: https://webix.com/snippet/e5f6295f.

Nastja,

Thanks for you help and work around!