Hi Everyone
Been creating custom widgets so far and all is good until I met a requirement:
Creating a Object widget that has a couple (or more) of custom widgets inside, would that be possible?
Something along the lines of a custom group widget that has 2-3 string widgets inside.
The way I am registering the custom 'Object` widget looks like the following:
const Example = (props) => {
const ExampleControl = CMS.getWidget('object').control
return (
<ExampleControl {...props} />
)
}
CMS.registerWidget('example', Example)