From 2c31627e5ada58ce9cec01d0b9dfbea886211ed3 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 21 Jun 2021 10:52:55 +0100 Subject: [PATCH] Update autoscreens to require confirmation when deleting rows --- .../src/builderStore/store/screenTemplates/rowDetailScreen.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/builder/src/builderStore/store/screenTemplates/rowDetailScreen.js b/packages/builder/src/builderStore/store/screenTemplates/rowDetailScreen.js index 7e61d68f59..495389d95f 100644 --- a/packages/builder/src/builderStore/store/screenTemplates/rowDetailScreen.js +++ b/packages/builder/src/builderStore/store/screenTemplates/rowDetailScreen.js @@ -62,6 +62,7 @@ function generateTitleContainer(table, title, formId, repeaterId) { tableId: table._id, rowId: `{{ ${makePropSafe(repeaterId)}.${makePropSafe("_id")} }}`, revId: `{{ ${makePropSafe(repeaterId)}.${makePropSafe("_rev")} }}`, + confirm: true, }, "##eventHandlerType": "Delete Row", },