BlazorTable icon indicating copy to clipboard operation
BlazorTable copied to clipboard

Table Edit Validation using Class Data Annotation

Open dvulanov opened this issue 3 years ago • 2 comments

Hello,

Many thanks for the great data table. The one feature I'd love is Validation using class data annotation. Is there a way to currently implement this? I'm trying using the EditTemplate, but coming up short.

Best

dvulanov avatar Aug 10 '20 21:08 dvulanov

I have figured out how to use edit template with a separate form wrapping each field, so I can't complain. That said, it would be nice if data annotations was supported out of the box.

dvulanov avatar Aug 11 '20 00:08 dvulanov

@dvulanov can you please elaborate how to implement data validation? I used EditForm. But not sure if this can be used within the EditTemplate. Thanks in advance.

kousik-patra avatar Jun 30 '22 17:06 kousik-patra