Vulnerability in EPiServer.Forms
I need to create a Dojo widget similar to the Select-Many build-in control.
In the blog, the Dojo widget gets its data with a Selection Factory. I would like to do the same, but I have no idea how to "send" the data from the Selection Factory to the custom Dojo widget (I'm refering to the Dojo *.js file).
Hey Daniel, you don't need to send the data to the widget since that is done automatically. As long as you have set the SelectionFactoryType property on your editor descriptor then the selections will automatically be passed through to your widget. You can look use this.selections on your widget to get an array with the selections that you have configured.
Thanks Ben, exactly what I'm looking for.