Limit Custom Block User Entries to a List of Values
Another common requirement for custom Wires blocks is to limit user entries for input parameters with simple datatypes to a specific list of valid values.
You can define the list as literal values using <type> and <list> within <parameter>. See Literal List Values for instructions.