Class OptionType.InputType

java.lang.Object
com.morpheusdata.model.OptionType.InputType
Enclosing class:
OptionType

public static class OptionType.InputType extends Object
Represents the input type for an OptionType field. This class provides standard input types as constants and also supports custom input types defined by plugins. To use a custom input type, create a new InputType instance with a custom string value that matches the registration name in your plugin's JavaScript component:
 OptionType.InputType customType = new OptionType.InputType("my-custom-input");
 
The JavaScript component should be registered in your plugin's assets using:
 window.Morpheus.components.registry.register("my-custom-input", MyComponent, {...});