Please provide as many details as you can:
Add the following code when customizing the component
get className() {
let name = table-responsive ${super.className}
if (!this.component.bordered) {
name += ' no-top-border-table'
}
return name
}
report an error:
Cannot read properties of undefined (reading 'hasOwnProperty')
Hosting type
[x] Form.io
[ ] Local deployment
Version:
Formio.js version:
Frontend framework:
Browser:
Browser version:
Steps to Reproduce
Expected behavior
Observed behavior
Example
If possible, please provide a screenshot, live example (via JSFiddle or similar), and/or example code to help demonstrate the issue.
For code or form JSON, please enclose in a code block:
// your code here
get className() {
let name = `table-responsive ${super.className}`
if (!this.component.bordered) {
name += ' no-top-border-table'
}
return name
}
Environment
Please provide as many details as you can: Add the following code when customizing the component get className() { let name =
table-responsive ${super.className}
if (!this.component.bordered) { name += ' no-top-border-table' } return name } report an error: Cannot read properties of undefined (reading 'hasOwnProperty')Steps to Reproduce
Expected behavior
Observed behavior
Example
If possible, please provide a screenshot, live example (via JSFiddle or similar), and/or example code to help demonstrate the issue.
For code or form JSON, please enclose in a code block: