From c70f5ed47972448b83609bd6138622d63bfbce7e Mon Sep 17 00:00:00 2001 From: Jacques Nel Date: Mon, 31 Oct 2022 12:24:00 +0200 Subject: [PATCH] fix: show error list playground --- 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 ad49d19f3a..0403c23351 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"] } }, }; @@ -305,6 +305,7 @@ class Playground extends Component { validator, subtheme: null, liveSettings: { + showErrorList:'top', validate: false, disable: false, readonly: false, @@ -590,6 +591,7 @@ class Playground extends Component { omitExtraData={liveSettings.omitExtraData} liveOmit={liveSettings.liveOmit} noValidate={liveSettings.noValidate} + showErrorList={liveSettings.showErrorList} schema={schema} uiSchema={uiSchema} formData={formData}