syntax = "proto3";

package com.wixpress.appservice.api.upstream.wix.forms.v4.components;
option java_package = "com.wixpress.appservice.api.upstream.wix.forms.v4.components";

import "wix/api/annotations.proto";
import "wix/rich_content/v1/rich_content.proto";

message Checkbox {
    option (.wix.api.decomposite_of) = "wix.forms.v4.components.Checkbox";
  // Label of the field
  .wix.rich_content.v1.RichContent label = 1 [(.wix.api.translatable) = {
    name: "Checkbox Label"
    hidden: false
    grouping: "formFields"
    type: RICH_CONTENT_EDITOR
  }];

  // Flag identifying if checked by default
  // Default: false
  bool checked = 2;
}
