Semantic-UI icon indicating copy to clipboard operation
Semantic-UI copied to clipboard

Form Example Re-uses Input Name

Open adam-lynch opened this issue 12 years ago • 2 comments

In the form demo, selecting one from "Radio Box" then selecting one from "HTML Only Radio Box" will unselect the one you selected from "Radio Box".

adam-lynch avatar Sep 12 '14 19:09 adam-lynch

I think this is not related directly to Semantic UI, but rather to the name attribute of the <input type="radio" elements. You can see that they all have name="fruit", so it is expected that selecting one will unselect all the others. Anyway, I think that the name of one group should be changed in the demo page, so as to avoid any confusion.

anestv avatar Sep 12 '14 20:09 anestv

Yeah the docs just happened to re-use name.

The 1.0 docs will be completely different.

jlukic avatar Sep 12 '14 21:09 jlukic