computed: {
...mapGetters(['getElements']),
element() {
return this.getElements(this.formId, this.sectionId, this.elementId);
},
[this.element.inputName]: {
},
}
throws an error: Uncaught TypeError: Cannot read property 'element' of undefined
How do I set the prop name dynamically?