Angular SelectBox - fieldAddons

Specifies SelectBox input field addons.

Type:

FieldAddons

| null
Default Value: null

Field addons are custom markup containers that you can add to either side of the SelectBox input field. The component arranges visual elements in the following order: beforeTemplate, SelectBox input, afterTemplate.

app.component.html
  • <dx-select-box ... >
  • <dxo-select-box-field-addons
  • beforeTemplate="beforeSelectBox"
  • afterTemplate="afterSelectBox"
  • ></dxo-select-box-field-addons>
  • <div *dxTemplate="let data of 'beforeSelectBox'">
  • <i class="dx-icon-chevronprev"></i>
  • </div>
  • <div *dxTemplate="let data of 'afterSelectBox'">
  • <i class="dx-icon-chevronnext"></i>
  • </div>
  • </dx-select-box>

SelectBox Demo

afterTemplate

A custom markup that display content to the right of the input field.

Type:

template

Template Data:

Object

Data of the selected editor item.

beforeTemplate

A custom markup that displays content to the left of the input field.

Type:

template

Template Data:

Object

Data of the selected editor item.