Give detail autoscreen repeater a placeholder for when no rows exist

This commit is contained in:
Andrew Kingston 2021-08-23 11:09:33 +01:00
parent 801ea8f902
commit 27be64a6fd
1 changed files with 1 additions and 0 deletions

View File

@ -94,6 +94,7 @@ const createScreen = table => {
.instanceName("Repeater") .instanceName("Repeater")
.customProps({ .customProps({
dataProvider: `{{ literal ${makePropSafe(provider._json._id)} }}`, dataProvider: `{{ literal ${makePropSafe(provider._json._id)} }}`,
noRowsMessage: "We couldn't find a row to display",
}) })
const form = makeMainForm() const form = makeMainForm()