Skip to content
This repository was archived by the owner on Sep 11, 2021. It is now read-only.

Commit 6ca9f08

Browse files
committed
Give directly styled radios a different name attribute
1 parent de15d8b commit 6ca9f08

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/index.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,19 +276,19 @@ If you only need to support Edge and not IE 11, you can also add the `form-check
276276
<div class="mt-2">
277277
<div>
278278
<label class="inline-flex items-center">
279-
<input type="radio" class="form-radio text-gray-800" name="radio" value="1" checked/>
279+
<input type="radio" class="form-radio text-gray-800" name="radio-direct" value="1" checked/>
280280
<span class="ml-2">Option 1</span>
281281
</label>
282282
</div>
283283
<div>
284284
<label class="inline-flex items-center">
285-
<input type="radio" class="form-radio text-gray-800" name="radio" value="2"/>
285+
<input type="radio" class="form-radio text-gray-800" name="radio-direct" value="2"/>
286286
<span class="ml-2">Option 2</span>
287287
</label>
288288
</div>
289289
<div>
290290
<label class="inline-flex items-center">
291-
<input type="radio" class="form-radio text-gray-800" name="radio" value="3"/>
291+
<input type="radio" class="form-radio text-gray-800" name="radio-direct" value="3"/>
292292
<span class="ml-2">Option 3</span>
293293
</label>
294294
</div>

0 commit comments

Comments
 (0)