cancel
Showing results for 
Search instead for 
Did you mean: 

ui form select with icon

ui form select with icon

hi guys how can i add icon/pciture in my existing ui select component 

 
                <field name="pic" formElement="select">
                    <argument name="data" xsi:type="array">
                        <item name="config" xsi:type="array">
                            <item name="validation" xsi:type="array">
                                <item name="required-entry" xsi:type="boolean">true</item>
                            </item>
                        </item>
                    </argument>
                    <settings>
                        <dataType>text</dataType>
                        <label>pic</label>
                        <dataScope>pic</dataScope>
                    </settings>
                    <formElements>
                        <select>
                            <settings>
                                <options class="vendor\module\model\source"/>
                            </settings>
                        </select>
                    </formElements>
                </field>