Formfeed-UK / nova-dependable-panel

A Nova 4 Panel that allows DependsOn Functionality
MIT License
7 stars 6 forks source link

JS Dependable Error #4

Closed HeadStudios closed 1 year ago

HeadStudios commented 1 year ago

Hi,

I am receiving this error in my Console JS Log in Chrome - any input or ideas on the source of this?

Uncaught (in promise) TypeError: Cannot create property 'value' on string '

{"attribute":"email_fields","component":"nova-dependable-panel","dependentComponentKey":"dependablepanel.nova-dependable-panel.email_fields","dependsOn":{"display":"{\"email\":true,\"landing\":false}"},"displayedAs":null,"fullWidth":false,"helpText":null,"indexName":"Email Fields","name":"Email Fields","nullable":false,"panel":"Email Fields","placeholder":null,"prefixComponent":true,"readonly":false,"required":false,"sortable":false,"sortableUriKey":"email_fields","stacked":false,"textAlign":"left","uniqueKey":"email_fields-email-fields-nova-dependable-panel","usesCustomizedDisplay":false,"validationKey":"email_fields","value":null,"visible":false,"wrapping":false,"fields":[{"attribute":"headline","component":"text-field","dependentComponentKey":"text.text-field.headline","dependsOn":null,"displayedAs":null,"fullWidth":false,"helpText":null,"indexName":"Headline","name":"Headline","nullable":false,"panel":null,"placeholder":null,"prefixComponent":true,"readonly":false,"required":false,"sortable":false,"sortableUriKey":"headline","stacked":false,"textAlign":"left","uniqueKey":"headline-default-text-field","usesCustomizedDisplay":false,"validationKey":"headline","value":null,"visible":true,"wrapping":false,"suggestions":null},{"attribute":"subheadline","component":"text-field","dependentComponentKey":"text.text-field.subheadline","dependsOn":null,"displayedAs":null,"fullWidth":false,"helpText":null,"indexName":"Subheadline","name":"Subheadline","nullable":false,"panel":null,"placeholder":null,"prefixComponent":true,"readonly":false,"required":false,"sortable":false,"sortableUriKey":"subheadline","stacked":false,"textAlign":"left","uniqueKey":"subheadline-default-text-field","usesCustomizedDisplay":false,"validationKey":"subheadline","value":null,"visible":true,"wrapping":false,"suggestions":null}],"singleRequest":false}' at DependentFormField.js:157:30

ianrobertsFF commented 1 year ago

You're dumping something in your code and its appearing in this request