cancel
Showing results for 
Search instead for 
Did you mean: 

ui form select with icon

   Did you know you can see the translated content as per your choice?

Translation is in progress. Please check again after few minutes.

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>