Putting form components inside a widget

0
I don’t know if this is possible and I can see why it may not be but …. If I create a snippet and add input boxes then I get an error of “widget can only function inside a data container”. On a page, I can add a data view and then use the snippet. That does not give any errors. But of course I still have my snippet showing errors. If I use a data container in a snippet then the error is that data containers can only be used on a page. Is there a way of doing this without the errors?
asked
1 answers
0

Did you set the entity inside the snippet? Otherwise, you cannot select the attribute for the input box.
This is essentially the same as setting an enitity inside a dataview.

https://docs.mendix.com/refguide/snippet/#232-entity

answered