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

EditGrid: editGridDeleteRow should have row data as argument

Open ambra-zuc opened this issue 2 years ago • 1 comments

editGridDeleteRow fires when a row has been deleted, and has only one argument: the index of the row that was deleted. Would it be possible to add also "component" and "row" to the arguments, as in the editGridSaveRow event? Thanks

ambra-zuc avatar Jul 05 '23 14:07 ambra-zuc

If you submit a pull request with this change, we would be happy to review it and include it in a future release. The change would probably be right here.

https://github.com/formio/formio.js/blob/4.14.x/src/components/editgrid/EditGrid.js#L988

travist avatar Aug 03 '23 13:08 travist