hello there, I am trying to change the color of above text of selectbox with the help of html.
but it shows error “TypeError: selectbox() got an unexpected keyword argument ‘unsafe_allow_html’”
It’s not possible to throw in unsafe_allow_html=True arbitrarily to any widget. You will either need to set the text color in your theme or inject CSS.
If you need to control the color independently of other font in the app: