Closed craftzneko closed 8 months ago
Appologies if i missed this but couldnt see a way to submit a change on the documentation so putting here as an issues. On the https://volkovlabs.io/plugins/volkovlabs-form-panel/code/
The last example is
onChange(elements.map((element) => { return element.id === 'name' ? { ...element, value: 'test' } : element });
but i think it should be (it was missing a closing parenthesis at the end)
onChange(elements.map((element) => { return element.id === 'name' ? { ...element, value: 'test' } : element; }));
Appologies if i missed this but couldnt see a way to submit a change on the documentation so putting here as an issues. On the https://volkovlabs.io/plugins/volkovlabs-form-panel/code/
The last example is
but i think it should be (it was missing a closing parenthesis at the end)