anmcgrath / BlazorDatasheet

Simple excel-like datasheet Blazor component
MIT License
131 stars 31 forks source link

Validation Alerts #56

Open mthrift2100 opened 4 months ago

mthrift2100 commented 4 months ago

Curious if you think it would be a good idea to refactor the Dialog Alert that is part of the validation logic. Would it make more sense to raise an event that the user can handle and they can decide how they want to visualize the validation failure?

anmcgrath commented 4 months ago

Hi @mthrift2100. I think it is a good idea.

I would suggest that the default behaviour for a strict validation failing should still be the dialog alert, but the user should be able to modify this behaviour if the choose to. What do you think?