Closed matt7ds closed 1 year ago
When configuring an input to have a fixed 'custom' Single Value for a field, the value is lost and the following error is given in the console:
Uncaught TypeError: Cannot create property 'FIELDNAME' on string ''
(where FIELDNAME is the name of the field on the resource you are importing)
This can be fixed by editing line 228 on resources/js/pages/Configure.js
resources/js/pages/Configure.js
this.values = "";
to
this.values = {};
Could you create a PR?
I have - I actually put a small other fix in there on the Review screen (incorrect reference to map instead of mappings). I explained in the PR I hope
Linking to PR #51
When configuring an input to have a fixed 'custom' Single Value for a field, the value is lost and the following error is given in the console:
Uncaught TypeError: Cannot create property 'FIELDNAME' on string ''
(where FIELDNAME is the name of the field on the resource you are importing)
This can be fixed by editing line 228 on
resources/js/pages/Configure.js
this.values = "";
to
this.values = {};