CheckTag(BaseTag)

多选check组件 snippets: sword:check

属性说明

属性名 属性值 说明
className flat-red flat-blue 其他icheck样式 默认为flat-blue 多选控件的样式,和icheck相同
chname 任意字符串,或者 分割 选择框前面的中文名称,多个以 分割
checked true false 用''分割的字符串 true表示默认状态下选中
disabled true false 用''分割的字符串 true表示默认状态下禁用
value 任意字符串 选中后,用于送到后端的值,多个以''分割
swordFormName 任意name名称 用于将选中的value值送到name为该值的input中, 多选则以''分割

语法

<sword:check chname="多选1|多选2|多选3" name="choose1|choose2|choose3" checked="true|false|true" value="duoxuan1|duoxuan2|duoxuan3" swordFormName="duox"/>
<input name="duox" value="" hidden/>

results matching ""

    No results matching ""