ComboBox with own SVG

Hello,

I would like to know if you can integrate your own SVG's with the combobox in JavaScript (ES5).
 
It should then look like:

https://ej2.syncfusion.com/javascript/documentation/combo-box/how-to/icons-support/

If so, I would be very happy about a short code snippet!


Regards,
Adrien P.

1 Reply 1 reply marked as answer

VS Vignesh Srinivasan Syncfusion Team January 28, 2021 02:31 PM UTC

Hi Adrien, 
 
We can use SVG in the ComboBox component by using itemTemplate property. Please find the sample below. 
 
 
Screenshot:  
 
 
 
Kindly check the above sample. Please let us know if you need any further assistance. 
 
Regards, 
 
Vignesh Srinivasan. 


Marked as answer
Loader.
Up arrow icon