Bootstrap radio button “checked” flag

前端 未结 5 1641
一整个雨季
一整个雨季 2020-12-13 03:59

In case #1 works, in case #2 it do not works. Check the code bellow:

Radio Gr

5条回答
  •  情歌与酒
    2020-12-13 04:38

    You have to use active in the label to make it work as mentioned above. But you can use checked="checked" and it will work too. It's not necessary but it's more legible and makes more sense as it is more html format compliance.

提交回复
热议问题