We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 411d204 commit 523f24dCopy full SHA for 523f24d
src/demo/body/Example.jsx
@@ -24,7 +24,6 @@ import translateRangeDate from '../../fields/interceptors/translate-range-date';
24
import translateRatings from '../../fields/interceptors/translate-ratings';
25
26
const FormComponent = ({
27
- locationHash,
28
givenSchema,
29
givenXhrSchema,
30
givenUISchema,
src/helpers/state-machine/form/form-state.guards.ts
@@ -46,7 +46,7 @@ const GUARDS = {
46
currentUISchema, 'ui:page.ui:layout',
47
) === 'steps',
48
});
49
- isSchemaValid = !schemaErrors && !isError;
+ isSchemaValid = Array.isArray(schemaErrors) ? schemaErrors.length === 0 && !isError : !schemaErrors && !isError;
50
}
51
catch (er) {
52
// console.log(er);
0 commit comments