-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
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
Allow CSS theming of grid error text. #291
Comments
gustavnavar
added a commit
that referenced
this issue
Jun 22, 2021
Package version 2.1.17 supports this feature. You can override the |
Cool, thanks! |
rgentry09
pushed a commit
to rgentry09/ERP-ASP.NET
that referenced
this issue
Jul 10, 2023
dev0926
added a commit
to dev0926/gridNET
that referenced
this issue
Feb 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm customizing the styling of this (really awesome!) grid component. However, the "error"
<p>
appears to be hard coded currently:Grid.Blazor/GridBlazor/Pages/GridComponent.razor
Line 89 in a9bb089
It would be very helpful if this instead used a class like
.grid-error
instead of element styles to allow styling of this text.Additionally, I noticed that this element moves the grid down a bit because it is always present, no matter if it's empty or not. Wrapping it in an
@if(!string.IsNullOrEmpty(Error)) { <p>... }
or something similar might make sense. I managed to hide it with a CSS:empty
selector for now.The text was updated successfully, but these errors were encountered: