RadioTag(BaseTag)

按钮组件 snippets: sword:radio

属性说明

属性名 属性值 说明
className flat-red flat-blue 其他icheck样式 默认为flat-blue 多选控件的样式,和icheck相同
chname 任意字符串,或者''分割 选择框前面的中文名称,多个以''分割
checked 任意数字 表示第几个radio在默认状态下是选中的,从0开始计数
name 任意字符串 单选的name
value 任意字符串 选中后,用于送到后端的值,多个以''分割选中后,用于送到后端的值,多个以''分割

语法

<sword:radio chname="单选1|单选2|单选3" name="radiotest" checked="1" value="danxuan1|danxuan2|danxuan3" swordFormName="danx"/>
<input name="danx" value="" hidden/>

results matching ""

    No results matching ""