Hey all,
I was experimenting with styles API of DMC to change border-color of the SearchInput element of a dmc.MultiSelect component. However, I could not come up with a way to change its color when it gets ACTIVE (when you clicked on it etc.)
I know that I can change the border-color of a SearchInput element when it is NOT ACTIVE by putting the below code snippet in to the css file:
.mantine-MultiSelect-searchInput{
border-color: red;
}
However, don’t have a clue when how to change it when it gets ACTIVE.
I also tried this with no avail:
.mantine-MultiSelect-searchInput[data-active='True']{
border-color: red;
}
Any recommendations on how to specify component’s activity?
Cheers to all!