checkbox-group.wxml 458 B

1234567891011121314
  1. <view class="{{ classPrefix }} {{prefix}}-class" style="{{customStyle}}">
  2. <slot />
  3. <block wx:for="{{checkboxOptions}}" wx:key="value">
  4. <t-checkbox
  5. class="{{prefix}}-checkbox-option"
  6. label="{{item.label || item.text || ''}}"
  7. value="{{item.value || ''}}"
  8. check-all="{{item.checkAll}}"
  9. disabled="{{item.disabled}}"
  10. data-item="{{item}}"
  11. bind:change="handleInnerChildChange"
  12. ></t-checkbox>
  13. </block>
  14. </view>