-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
TreeDropdownField doesn't work with Widget::getCMSFields() #26
Comments
same here. i get this error: |
Hi, if you see here you can see more details about this issue: #20 The best solution I have come up with so far is on this thread: http://www.silverstripe.org/widgets-2/show/20865 |
It would be great to have TreeDropdownField for Widgets. |
There's a good extension you can use to manage widgets via a GridField in SS3, so you can use UploadField's and TreeDropdownField's etc too - https://github.com/g4b0/silverstripe-widget-pages-extension |
I have done some digging into this issue, it appears that You can manually set the form in your I have kind of gotten stuck at this point, I guess the best solution would be for Widgets to setForm correctly on fields such as |
I have just done a little more digging, I think the issue can be tracked down to something inside this loop: https://github.com/silverstripe/silverstripe-widgets/blob/master/src/Model/Widget.php#L202 If I have time later today, I may try and have a play around, see if I can work our what is causing it... |
No description provided.
The text was updated successfully, but these errors were encountered: