From 9b015acae89891ae31b953e5facbdc504d1123cc Mon Sep 17 00:00:00 2001 From: Jacques Nel Date: Mon, 31 Oct 2022 18:57:17 +0200 Subject: [PATCH] fix: show error list playground (#3218) Co-authored-by: Heath C <51679588+heath-freenome@users.noreply.github.com> --- packages/playground/src/app.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/playground/src/app.jsx b/packages/playground/src/app.jsx index 6ca58dd1eb..88766a9624 100644 --- a/packages/playground/src/app.jsx +++ b/packages/playground/src/app.jsx @@ -21,7 +21,7 @@ const liveSettingsSchema = { omitExtraData: { type: "boolean", title: "Omit extra data" }, liveOmit: { type: "boolean", title: "Live omit" }, noValidate: { type: "boolean", title: "Disable validation" }, - showErrorList:{ type: "string", "default":"top", title: "Show Error List", enum:[false,"top","bottom"] } + showErrorList:{ type: "string", "default": "top", title: "Show Error List", enum:[false,"top","bottom"] } }, }; @@ -351,6 +351,7 @@ class Playground extends Component { validator, subtheme: null, liveSettings: { + showErrorList:'top', validate: false, disable: false, readonly: false, @@ -639,6 +640,7 @@ class Playground extends Component { omitExtraData={liveSettings.omitExtraData} liveOmit={liveSettings.liveOmit} noValidate={liveSettings.noValidate} + showErrorList={liveSettings.showErrorList} schema={schema} uiSchema={uiSchema} formData={formData}