The jquery plugin work with data-label-text and not data-text-label as the documentation says
@@ -143,7 +143,7 @@
<td>'OFF'</td>
</tr>
<tr>
- <td>text-label</td>
+ <td>label-text</td>
<td>String</td>
<td>Text of the center handle of the switch</td>
@@ -317,4 +317,4 @@
<script src="dist/js/bootstrap-switch.js"></script>
<script src="docs/js/main.js"></script>
</body>
-</html>
+</html>