formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

How to keep EditGrid in the Editing state after logic executes in "editGridSaveRow"

Open dinesh-aot opened this issue 3 years ago • 1 comments

Overview I have an editGrid in which I have added a Logic which listens to the event "editGridSaveRow". As per my logic if some validation fails in this logic , I have to keep the row in the Editing State so that user has to either cancel their changes or correct the validation and proceed. I couldn't find a solution for that so far. I tried to call instance.editRow(rowIndex) to keep the row open but didn't work as expected. Can someone help how to get around this issue.

dinesh-aot avatar Jul 12 '22 07:07 dinesh-aot

Can you provide me a json file or a jsfiddle so we can test?

wag110894 avatar Jul 13 '22 18:07 wag110894

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!

daneformio avatar Feb 07 '24 14:02 daneformio