Datagrid Double Validation? #1594
Unanswered
SamCharette
asked this question in
Q&A
Replies: 2 comments 2 replies
-
Maybe you just need to set Try: void YourMethod(ValidatorEventArgs eventArgs)
{
eventArgs.ErrorText = "Your error message";
// other code
} It's hard to tell without any code sample. If that doesn't help, can you create a small sample to reproduce the issue? |
Beta Was this translation helpful? Give feedback.
1 reply
-
It seems this is a bug indeed. Can you open a new issue and I will try to fix it for the 0.9.3 preview. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi there! I just started using Blazorise (awesome), so I'm still missing a few concepts I'm sure. I made a simple datagrid that uses the popup edit method. I wanted to do some custom validation, so I added Validator="@checkname" to the field, and a function that checks for valid results.
It works, but when I click save it highlights the invalid field and gives a generic "One or more fields have an error. Please check and try again." error. If I click save again then the custom validation text appears.
Is there a way to go straight to the custom validation errors and skip the generic one?
Beta Was this translation helpful? Give feedback.
All reactions