@@ -19,14 +19,14 @@ Our checks use custom Bootstrap icons to indicate checked or indeterminate state
19
19
20
20
{{< example >}}
21
21
<div class =" form-check " >
22
- <input class =" form-check-input " type =" checkbox " value =" " id =" flexCheckDefault " >
23
- <label class =" form-check-label " for =" flexCheckDefault " >
22
+ <input class =" form-check-input " type =" checkbox " value =" " id =" checkDefault " >
23
+ <label class =" form-check-label " for =" checkDefault " >
24
24
Default checkbox
25
25
</label >
26
26
</div >
27
27
<div class =" form-check " >
28
- <input class =" form-check-input " type =" checkbox " value =" " id =" flexCheckChecked " checked >
29
- <label class =" form-check-label " for =" flexCheckChecked " >
28
+ <input class =" form-check-input " type =" checkbox " value =" " id =" checkChecked " checked >
29
+ <label class =" form-check-label " for =" checkChecked " >
30
30
Checked checkbox
31
31
</label >
32
32
</div >
@@ -38,8 +38,8 @@ Checkboxes can utilize the `:indeterminate` pseudo class when manually set via J
38
38
39
39
{{< example class="bd-example-indeterminate" stackblitz_add_js="true" >}}
40
40
<div class =" form-check " >
41
- <input class =" form-check-input " type =" checkbox " value =" " id =" flexCheckIndeterminate " >
42
- <label class =" form-check-label " for =" flexCheckIndeterminate " >
41
+ <input class =" form-check-input " type =" checkbox " value =" " id =" checkIndeterminate " >
42
+ <label class =" form-check-label " for =" checkIndeterminate " >
43
43
Indeterminate checkbox
44
44
</label >
45
45
</div >
@@ -51,20 +51,20 @@ Add the `disabled` attribute and the associated `<label>`s are automatically sty
51
51
52
52
{{< example class="bd-example-indeterminate" stackblitz_add_js="true" >}}
53
53
<div class =" form-check " >
54
- <input class =" form-check-input " type =" checkbox " value =" " id =" flexCheckIndeterminateDisabled " disabled >
55
- <label class =" form-check-label " for =" flexCheckIndeterminateDisabled " >
54
+ <input class =" form-check-input " type =" checkbox " value =" " id =" checkIndeterminateDisabled " disabled >
55
+ <label class =" form-check-label " for =" checkIndeterminateDisabled " >
56
56
Disabled indeterminate checkbox
57
57
</label >
58
58
</div >
59
59
<div class =" form-check " >
60
- <input class =" form-check-input " type =" checkbox " value =" " id =" flexCheckDisabled " disabled >
61
- <label class =" form-check-label " for =" flexCheckDisabled " >
60
+ <input class =" form-check-input " type =" checkbox " value =" " id =" checkDisabled " disabled >
61
+ <label class =" form-check-label " for =" checkDisabled " >
62
62
Disabled checkbox
63
63
</label >
64
64
</div >
65
65
<div class =" form-check " >
66
- <input class =" form-check-input " type =" checkbox " value =" " id =" flexCheckCheckedDisabled " checked disabled >
67
- <label class =" form-check-label " for =" flexCheckCheckedDisabled " >
66
+ <input class =" form-check-input " type =" checkbox " value =" " id =" checkCheckedDisabled " checked disabled >
67
+ <label class =" form-check-label " for =" checkCheckedDisabled " >
68
68
Disabled checked checkbox
69
69
</label >
70
70
</div >
@@ -74,14 +74,14 @@ Add the `disabled` attribute and the associated `<label>`s are automatically sty
74
74
75
75
{{< example >}}
76
76
<div class =" form-check " >
77
- <input class =" form-check-input " type =" radio " name =" flexRadioDefault " id =" flexRadioDefault1 " >
78
- <label class =" form-check-label " for =" flexRadioDefault1 " >
77
+ <input class =" form-check-input " type =" radio " name =" radioDefault " id =" radioDefault1 " >
78
+ <label class =" form-check-label " for =" radioDefault1 " >
79
79
Default radio
80
80
</label >
81
81
</div >
82
82
<div class =" form-check " >
83
- <input class =" form-check-input " type =" radio " name =" flexRadioDefault " id =" flexRadioDefault2 " checked >
84
- <label class =" form-check-label " for =" flexRadioDefault2 " >
83
+ <input class =" form-check-input " type =" radio " name =" radioDefault " id =" radioDefault2 " checked >
84
+ <label class =" form-check-label " for =" radioDefault2 " >
85
85
Default checked radio
86
86
</label >
87
87
</div >
@@ -93,14 +93,14 @@ Add the `disabled` attribute and the associated `<label>`s are automatically sty
93
93
94
94
{{< example >}}
95
95
<div class =" form-check " >
96
- <input class =" form-check-input " type =" radio " name =" flexRadioDisabled " id =" flexRadioDisabled " disabled >
97
- <label class =" form-check-label " for =" flexRadioDisabled " >
96
+ <input class =" form-check-input " type =" radio " name =" radioDisabled " id =" radioDisabled " disabled >
97
+ <label class =" form-check-label " for =" radioDisabled " >
98
98
Disabled radio
99
99
</label >
100
100
</div >
101
101
<div class =" form-check " >
102
- <input class =" form-check-input " type =" radio " name =" flexRadioDisabled " id =" flexRadioCheckedDisabled " checked disabled >
103
- <label class =" form-check-label " for =" flexRadioCheckedDisabled " >
102
+ <input class =" form-check-input " type =" radio " name =" radioDisabled " id =" radioCheckedDisabled " checked disabled >
103
+ <label class =" form-check-label " for =" radioCheckedDisabled " >
104
104
Disabled checked radio
105
105
</label >
106
106
</div >
@@ -112,20 +112,20 @@ A switch has the markup of a custom checkbox but uses the `.form-switch` class t
112
112
113
113
{{< example >}}
114
114
<div class =" form-check form-switch " >
115
- <input class =" form-check-input " type =" checkbox " role =" switch " id =" flexSwitchCheckDefault " >
116
- <label class =" form-check-label " for =" flexSwitchCheckDefault " >Default switch checkbox input</label >
115
+ <input class =" form-check-input " type =" checkbox " role =" switch " id =" switchCheckDefault " >
116
+ <label class =" form-check-label " for =" switchCheckDefault " >Default switch checkbox input</label >
117
117
</div >
118
118
<div class =" form-check form-switch " >
119
- <input class =" form-check-input " type =" checkbox " role =" switch " id =" flexSwitchCheckChecked " checked >
120
- <label class =" form-check-label " for =" flexSwitchCheckChecked " >Checked switch checkbox input</label >
119
+ <input class =" form-check-input " type =" checkbox " role =" switch " id =" switchCheckChecked " checked >
120
+ <label class =" form-check-label " for =" switchCheckChecked " >Checked switch checkbox input</label >
121
121
</div >
122
122
<div class =" form-check form-switch " >
123
- <input class =" form-check-input " type =" checkbox " role =" switch " id =" flexSwitchCheckDisabled " disabled >
124
- <label class =" form-check-label " for =" flexSwitchCheckDisabled " >Disabled switch checkbox input</label >
123
+ <input class =" form-check-input " type =" checkbox " role =" switch " id =" switchCheckDisabled " disabled >
124
+ <label class =" form-check-label " for =" switchCheckDisabled " >Disabled switch checkbox input</label >
125
125
</div >
126
126
<div class =" form-check form-switch " >
127
- <input class =" form-check-input " type =" checkbox " role =" switch " id =" flexSwitchCheckCheckedDisabled " checked disabled >
128
- <label class =" form-check-label " for =" flexSwitchCheckCheckedDisabled " >Disabled checked switch checkbox input</label >
127
+ <input class =" form-check-input " type =" checkbox " role =" switch " id =" switchCheckCheckedDisabled " checked disabled >
128
+ <label class =" form-check-label " for =" switchCheckCheckedDisabled " >Disabled checked switch checkbox input</label >
129
129
</div >
130
130
{{< /example >}}
131
131
@@ -222,8 +222,8 @@ Put your checkboxes, radios, and switches on the opposite side with the `.form-c
222
222
</div >
223
223
224
224
<div class =" form-check form-switch form-check-reverse " >
225
- <input class =" form-check-input " type =" checkbox " id =" flexSwitchCheckReverse " >
226
- <label class =" form-check-label " for =" flexSwitchCheckReverse " >Reverse switch checkbox input</label >
225
+ <input class =" form-check-input " type =" checkbox " id =" switchCheckReverse " >
226
+ <label class =" form-check-label " for =" switchCheckReverse " >Reverse switch checkbox input</label >
227
227
</div >
228
228
{{< /example >}}
229
229
0 commit comments