Update autoscreens to require confirmation when deleting rows

This commit is contained in:
Andrew Kingston 2021-06-21 10:52:55 +01:00
parent b7991ea894
commit 2c31627e5a
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ function generateTitleContainer(table, title, formId, repeaterId) {
tableId: table._id, tableId: table._id,
rowId: `{{ ${makePropSafe(repeaterId)}.${makePropSafe("_id")} }}`, rowId: `{{ ${makePropSafe(repeaterId)}.${makePropSafe("_id")} }}`,
revId: `{{ ${makePropSafe(repeaterId)}.${makePropSafe("_rev")} }}`, revId: `{{ ${makePropSafe(repeaterId)}.${makePropSafe("_rev")} }}`,
confirm: true,
}, },
"##eventHandlerType": "Delete Row", "##eventHandlerType": "Delete Row",
}, },