See Enumerated values within String and Number.
Static values for complex configurations can be defined such that they appear as options within a dropdown menu by using the
@options decorator. If the complex type contains a
label property, it is used for the option's label.
Dynamic options can be loaded using the
@lookupOptions decorator. If the options value is a string, the value is used as the label.
If the class has a
label property, this property is displayed in the dropdown.
Lookup class can pass data via a constructor to configure what the lookup method returns as options.
@searchOptions decorator works similarly to
@lookupOptions. The difference is that
@searchOptions provides a search string that can be used to filter applicable options.