Angular DropDownBox - fieldAddons

Specifies DropDownBox input field addons.

Type:

FieldAddons

| null
Default Value: null

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

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

afterTemplate

A custom markup that displays 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.