-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TypeError in flex layout #2
Comments
Seems to be a problem in flex.es5.js when a function gets called with a null gapValue. |
I've gone back to angular6-json-schema-form there seems to be more support there and it's upgraded for angular 7 as well. The problem is there as well but we've figured out it's in the flexlayout package from angular, going back to using 7.0.0-beta.19 fixes it. |
Describe the bug
which template:
MaterialDesignFrameworkModule — Material Design
A clear and concise description of what the bug is.
To Reproduce
schema: {
type: "object",
title: "Comment",
properties: {
name: {
title: "Name",
type: "string"
},
email: {
title: "Email",
type: "string",
pattern: "^\S+@\S+$",
description: "Email will be used for evil."
},
comment: {
title: "Comment",
type: "string",
maxLength: 20,
validationMessage: "Don't be greedy!"
},
contact: {
type: "object",
title: "Contact",
properties: {
firstname: {
title: "Firstname",
type: "string"
},
lastname: {
title: "Lastname",
type: "string"
}
}
}
},
required: [
"name",
"email",
"comment"
]
}
Expected behavior
No error should occur here
Desktop (please complete the following information):
Log output covering before error and any error statements
Additional context
Problem only happens with nested objects seems so far
The text was updated successfully, but these errors were encountered: