ce to prevent this
* @param {text=1} value for the checked state (optional, default 1)
* @param {text=0} value for the unchecked state (optional, default 0)
*/
{% macro checkbox(id, item, txt, val_on, val_off) %}

	<label{% if txt is empty %} style="padding-right: 0; width: 0;"{% endif %}>
		<input type="checkbox"{% if not id is empty %} id="{{ uid(page, id) }}"{% endif %} data-widget="basic.checkbox" data-item="{{ item }}"
			{%- if txt is empty %} data-mini="true"{% endif -%}
			data-val-on="{{ val_on|def