Adding custom styles to oj-select-one component in Oracle Jet

Setting custom attributes

The oj-select-one component has an attribute called picker-attributes, the docs for which can be found here. The docs outline that through picker attributes both class and style can be set using the following syntaxt:

//View Model
const pickerAttributes = { "style": "color:blue;", "class": "my-class" };
<oj-select-one picker-attributes="[[pickerAttributes]]"></oj-select-one>



Co-Founder of Bel 💪🏼 | Product Manager 📄 | Developer 💻 | Product Design 🎨

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store