Skip to content

Commit 3abba3e

Browse files
epicfaaceedi9999
authored andcommitted
Add liveOmit to playground (rjsf-team#1356)
1 parent 59fae44 commit 3abba3e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

playground/app.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const liveSettingsSchema = {
2727
validate: { type: "boolean", title: "Live validation" },
2828
disable: { type: "boolean", title: "Disable whole form" },
2929
omitExtraData: { type: "boolean", title: "Omit extra data" },
30+
liveOmit: { type: "boolean", title: "Live omit" },
3031
},
3132
};
3233
const cmOptions = {
@@ -334,6 +335,7 @@ class App extends Component {
334335
validate: true,
335336
disable: false,
336337
omitExtraData: false,
338+
liveOmit: false,
337339
},
338340
shareURL: null,
339341
};
@@ -475,6 +477,7 @@ class App extends Component {
475477
liveValidate={liveSettings.validate}
476478
disabled={liveSettings.disable}
477479
omitExtraData={liveSettings.omitExtraData}
480+
liveOmit={liveSettings.liveOmit}
478481
schema={schema}
479482
uiSchema={uiSchema}
480483
formData={formData}

0 commit comments

Comments
 (0)