name: Inheritance
description: Particle inheritance tab
type: particle.inheritance

form:
  fields:
    mode:
      type: input.radios
      label: Mode
      description: Whether to clone or inherit the particle properties
      default: inherit
      options:
        clone: Clone
        inherit: Inherit

    outline:
      type: gantry.outlines
      label: Outline
      description: Outline to inherit from.
      selectize:
        allowEmptyOption: true
      options:
        '': No Inheritance

    particle:
      type: gantry.particles
      id: g-inherit-particle
      outline_field: outline
      label: Particle Instance
      description: Particle to inherit from

    include:
      type: input.multicheckbox
      label: Replace
      description: Which parts of the Particle to inherit?
      options:
        attributes: Particle Attributes
        block: Block Attributes
