Commit 54e16a6e authored by Jordan Karlov's avatar Jordan Karlov Committed by Jordan Karlov
Browse files

Issue #3269920 by JordiK: Add schema to bootstrap_toggle

parent 964ddcaf
Loading
Loading
Loading
Loading
+28 −0
Changes for config/schema/bootstrap_toggle.schema.yml: 28 added lines, 0 removed lines.
Original line number Diff line number Diff line
field.widget.settings.bootstrap_toggle_switch:
  type: mapping
  label: 'Bootstrap Toggle switch format settings'
  mapping:
    display_label:
      type: string
      label: 'Display field label'
    bootstraptoggle_data_on:
      type: label
      label: 'Use custom label for On state'
    bootstraptoggle_data_off:
      type: label
      label: 'Use custom label for Off state'
    bootstraptoggle_box_size:
      type: string
      label: 'Size of toggle button'
    bootstraptoggle_on_style:
      type: string
      label: 'On state style of toggle button'
    bootstraptoggle_off_style:
      type: string
      label: 'Off state style of toggle button'
    bootstraptoggle_box_height:
      type: string
      label: 'Override height of toggle button'
    bootstraptoggle_box_width:
      type: string
      label: 'Override width of toggle button'