setValue(value, flags = {}) {
    const changed = this.updateValue(value, flags);
    value = this.dataValue;

    if (this.isHtmlRenderMode()) {
      if (changed) {
        this.redraw();
      }
    }
    else {
      _.each(this.refs.input, (input) => {
        if (_.isUndefined(value[input.value])) {
          value[input.value] = false;
        }
        input.checked = !!value[input.value];
      });
    }

    return changed;
  }
Set the value of this component.
@param {any} value - The value to set.
@param {any} flags - Flags to apply to this update.
@returns {boolean} - If the value has changed.