Apply variant color of react bootstrap select

Viewed 5

I'm trying to change the variant color of react-bootstrap select to danger after the user clicks a button to indicate that the user needs to select first from one of the options provided in the select

Here's what I'm using react-bootstrap select

As of now I'm able to log that there is an error. I'm thinking that maybe I can use the state properties to change the variant? It's supposed to be simple but I cant find it in the react bootstrap select documentation

enter image description here

enter image description here

0 Answers
Related