Guys, I’m facing the following problem: I made a customized component, I test it in the dev editor and it works perfectly, without any errors in the console, I make the repository and upload it to weweb io as a component to use in the normal editor, and it doesn’t work giving console error.
This happened with another component of mine, but I didn’t try to solve the problem, now it’s happened again
I will be sharing the component repository and teaching you how to use it
repository: GitHub - enzocarmo/multiselect-lojas-bi
Error in console:
to use the component, place it, put a width of 250px for example, and in the properties there will be “data”, binding, putting custom code javascript:
return [
{
"selecionar": "text",
"lojas": [
{
"unid_codigo": "001"
},
{
"unid_codigo": "002"
}
]
}
]
something like this should appear:
This way it works in the dev editor, but if I use it in the normal editor it doesn’t work