I am unable to add border color for the list of options in dropdown. so can you please any hlep on how to add border color for all the options.
i have atteched two screen shots one is with border color of a form which i devloped and one more is without border color which i have taken from hubspot.
Hi @mohan_dandigam, no you can´t change that to a <ul> List unfortunately.
However you should be able to style it, or apply a library like niceselect to it.
Another thing to consider might be the fact that i don´t think it is a good practice to style UI elements that users are very familiar with, especially when there is a risk of confusing them, just for the sake of making something "look good", which is of course objective itself.
You are probably using the native <select> Element, right? Styling this can be really tricky and some stylings are not possible to apply. There is also inconsitencies between Browsers and Operating Sytems. That is why it is either changed with the use of JS or it is just a styled <ul> .
HubSpot is also using <ul>-tags instead of the native <select>. There are a good number of examples for this on codepen.
I am currenttly using form which was devloped by Hubspot. so can we edit form code in hubspot to change option tag to ul. and if yes how can we change..?
Hi @mohan_dandigam, no you can´t change that to a <ul> List unfortunately.
However you should be able to style it, or apply a library like niceselect to it.
Another thing to consider might be the fact that i don´t think it is a good practice to style UI elements that users are very familiar with, especially when there is a risk of confusing them, just for the sake of making something "look good", which is of course objective itself.