with this input the on icon shows as green against white unless you hover and then it is white against greed as it should be.
When in the off position the icon is always white against red.
Perhaps a bug in data-offstyle?
I tried reversing the order, reversing the styles, changing the icon, removing data-style="ios", and nothing made a difference, it is always the off position where it does not work.
<input id="Audio" data-offstyle="outline-danger" data-onstyle="outline-success" data-toggle="toggle" data-style="ios" type="checkbox" data-on="<i class='fas fa-microphone-alt'></i>" data-off="<i class='fas fa-microphone-alt-slash'></i>" checked />
with this input the on icon shows as green against white unless you hover and then it is white against greed as it should be.
When in the off position the icon is always white against red.
Perhaps a bug in data-offstyle?
I tried reversing the order, reversing the styles, changing the icon, removing data-style="ios", and nothing made a difference, it is always the off position where it does not work.