Inline editable grid not catching errors by default

When generating CRUD and selecting InLine editable, the generated SaveButtonClick creates a simple await grid0Services.UpdateRow(data); I would have guessed it would create a try catch with a NotificationService.notify like the other generated code?

I ran into an app error when saving and the database has a unique index. Adding in a try catch like the other crud pages corrects the app hanging behavior.

Hi @AWalter,

You are right! We will update our InLine template with try/catch for CRUD methods for the next release.

1 Like