FormGenerator issue
See original GitHub issueFor some reason when rendering the FormGenerator I am having an error:
Uncaught TypeError: Cannot read property 'dropdown_0C509A53-08D6-46C5-9895-C424946A0D69' of undefined
I’ve narrowed it down to an issue with form.jsx
- specifically this line:
_getDefaultValue(item) {
return this.answerData[item.field_name];
}
Looks like this.answerData
for me is undefined
…
Temporary fix:
_getDefaultValue(item) {
if (this.answerData) {
return this.answerData[item.field_name];
}
return '';
}
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Issues · vue-generators/vue-form-generator - GitHub
clipboard: A schema-based form generator component for Vue.js - Issues · vue-generators/vue-form-generator.
Read more >Vuejs2- Issue in vue-form-generator - Stack Overflow
I am using "vue-form-generator" plugin for loading fields dynamically but I have encountered an error. [Vue warn]: Failed to mount ...
Read more >Vue Form Generator - Field Array Issue - CodeSandbox
The Vue build version to load with the `import` command. // (runtime-only or standalone) has been set in webpack.base.conf with an alias.
Read more >Issues for Form Generator Trait | Drupal.org
Issues for Form Generator Trait. Log in or register to create an issue; Advanced search. Search for. Status. - Any -, - Open...
Read more >AL FORM GENERATOR - Salesforce AppExchange
Issue Box allows users to report issues along with critical session details. The user will add additional details about the error and, once...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Hi @brobey8, You are right, form generator crashes if answer_data was not supplied. Thanks for reporting issue, it should work now.
Yes, please close.