Skip to content

Commit e1b7404

Browse files
719mediaXhmikosR
authored andcommitted
Update forms.md
fix duplicate id attribute
1 parent 4dc5671 commit e1b7404

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

site/docs/4.1/components/forms.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1172,13 +1172,13 @@ Custom checkboxes and radios can also be disabled. Add the `disabled` boolean at
11721172

11731173
{% capture example %}
11741174
<div class="custom-control custom-checkbox">
1175-
<input type="checkbox" class="custom-control-input" id="customCheckDisabled" disabled>
1176-
<label class="custom-control-label" for="customCheckDisabled">Check this custom checkbox</label>
1175+
<input type="checkbox" class="custom-control-input" id="customCheckDisabled1" disabled>
1176+
<label class="custom-control-label" for="customCheckDisabled1">Check this custom checkbox</label>
11771177
</div>
11781178

11791179
<div class="custom-control custom-radio">
1180-
<input type="radio" id="radio3" name="radioDisabled" id="customRadioDisabled" class="custom-control-input" disabled>
1181-
<label class="custom-control-label" for="customRadioDisabled">Toggle this custom radio</label>
1180+
<input type="radio" name="radioDisabled" id="customRadioDisabled2" class="custom-control-input" disabled>
1181+
<label class="custom-control-label" for="customRadioDisabled2">Toggle this custom radio</label>
11821182
</div>
11831183
{% endcapture %}
11841184
{% include example.html content=example %}

0 commit comments

Comments
 (0)