Class EnumSwitchField.Attributes

java.lang.Object
com.broadleafcommerce.metadata.dsl.core.extension.fields.EnumSwitchField.Attributes
Enclosing interface:
EnumSwitchField<F extends EnumSwitchField<F>>

public static final class EnumSwitchField.Attributes extends Object
  • Field Details

    • DISPLAY_SINGLE

      public static final String DISPLAY_SINGLE
      Indicates that only a single value should be displayed at a time, i.e., the current value. This is effectively the same as making the component read-only except that it does not apply the disabled component styling that typically greys it out. This is useful in cases where the SelectOption uses color to differentiate values visually while also making it not mutable by the user.

      Defaults to false.

      See Also:
    • OPTIONS

      public static final String OPTIONS
      The options to display.
      See Also: