We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It will be good if we can specify the background colour for selected and unselected bar item. Also the button style.
The text was updated successfully, but these errors were encountered:
You can adjust background and text colors via CSS variables. Here is an example:
<RadzenSelectBar @bind-Value=@value TValue="bool" class="my-warning-selectbar"> <Items> <RadzenSelectBarItem Text="On" Value="true" /> <RadzenSelectBarItem Text="Off" Value="false" /> </Items> </RadzenSelectBar> <style> .my-warning-selectbar { --rz-selectbar-background-color: var(--rz-warning-lighter); --rz-selectbar-color: var(--rz-on-warning-lighter); --rz-selectbar-selected-background-color: var(--rz-warning); --rz-selectbar-selected-color: var(--rz-on-warning); } </style> @code { bool value; }
@paritoshromy, does this resolve the issue?
Sorry, something went wrong.
No branches or pull requests
It will be good if we can specify the background colour for selected and unselected bar item. Also the button style.
The text was updated successfully, but these errors were encountered: