Improve sib-form error message when no data on server and no data-field attribute set up
Let's say I have the following
sib-form, but I have not yet created any Action Group on the servers I am displaying :
<sib-form data-src="http://u4e.happy-dev.fr/api/action-groups/" ></sib-form>
I get the following error message :
TypeError: name.split is not a function[Learn More] sib-form.js:37:31
This is not explicit enough.
EDIT: The error message I get now is different, but still very much unclear to the end user :
TypeError: can't convert undefined to object sib-widget-mixin.js:47:14
You must provide a "data-fields" attribute.