Hi everyone,

I got a requirement to change the look of a ComboBox in OutSystems I'm trying to manipulate the css of the hovered item inside a combo box, but it doesn't change.

Anyone can help?

Solution

João Moreira wrote:

Hi everyone,

I got a requirement to change the look of a ComboBox in OutSystems I'm trying to manipulate the css of the hovered item inside a combo box, but it doesn't change.

Anyone can help?

Hi João,

You can't change it directly, once it is set by the default of the browser.
There are examples that you can google it, where you can create your own combo box in a Web Block. You create CSS classes for all the items of the combo, and customize it as you like. Then, with javascript, you construct the combo by applying those classes.

Hope this helps.

Best regards, 

Solution

João Moreira wrote:

Hi everyone,

I got a requirement to change the look of a ComboBox in OutSystems I'm trying to manipulate the css of the hovered item inside a combo box, but it doesn't change.

Anyone can help?

Hi João,

Can you provide us with an example of what you're trying to achieve?

Thank you.

Best regards,

Paulo Moreira