icon-position

Optional

Type: left | right

Default: Depends on the UI component. See the table below.

Specify where the icon is positioned relative to the label of the component.

Example - icon-position on capture-file

main.view.xml
 <columns>
    <column>
        <info>icon-position="left"</info>
        <capture-file icon-position="left" bind="my_file" label="" downloadable="true" />
    </column>
    <column>
        <info>icon-position="left"</info>
        <capture-file icon-position="right" bind="my_file" label="" downloadable="true" />
    </column>
</columns>

Default values per component

UI ComponentDefault value

button

left

button-group

left

capture-file

left

capture-photo

left

capture-signature

left

date-input

right

list

left

object-dropdown

right

scan-barcode

left

single-choice-dropdown

right

Last updated