Simple Select

This is a component also known as ComboBox. There are 2 types, the select type, and the Button type. To set the Button type, just add the propert bindo displayType="button | select"

When viewing the sample code, you must be aware of importing the classes that are requirements for the component to function. They are:

EssentialSimpleSelectComponent, EsSimpleSelectOptionComponent, formDirectives

Colors

It is possible to customize the background color if the type is a button type select. Use the color property to perform this process, and the colors are defined by the StyleType type, in which it is an enum that has the following options:

  • DEFAULT
  • SUCCESS
  • WARNING
  • PRIMARY
  • DANGER
  • INFO

Modo Disable

The disable mode disables the options for a select. Use the poperty bind with a boolean set to true. Look: [disable]="true"

Options

This component contains an area for adding the items to be listed. Remembering that the model should implement an interface called ISimpleSelectRender . This interface must override a method that needs to return a String. This String will be mapped in the view as soon as a list of type RList is passed to property bind[options]="list"

Abobora Maça
in component code example
in component code example