Radio button component

<div class="custom-control custom-radio custom-control-inline mr-0">
    <input type="radio" id="customRadio1564" name="keuze" value="Ja" class="custom-control-input">
    <label class="custom-control-label cursor-pointer d-flex align-items-center" for="customRadio1564">Ja</label>
</div>
{% set rand=range(1,99999)|random %}
<div class="custom-control custom-radio{% if match_height %} h-100 -matchHeight{% endif %}{% if border %} -border{% endif %}{% if fill %} -fill{% endif %} custom-control-inline mr-0{% if invalid %} is-invalid{% endif %}{% if valid %} is-valid{% endif %}{% if disabled %} -disabled{% endif %}{% if checked %} -checked{% endif %}">
    <input type="radio" id="customRadio{{rand}}" name="{{name}}" value="{{label}}" class="custom-control-input"{% if disabled %} disabled{% endif %}{% if checked %} checked{% endif %}>
    <label class="custom-control-label{% if not disabled %} cursor-pointer{% endif %}{% if fill %} absolute{% endif %} d-flex{% if match_height == false %} align-items-center{% endif %}" for="customRadio{{rand}}">{{label}}</label>
</div>
{
  "label": "Ja",
  "name": "keuze",
  "border": false,
  "valid": false,
  "invalid": false,
  "fill": false,
  "match_height": false,
  "disabled": false,
  "checked": false
}

No notes defined.