Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Widgets /

Discuss SilverStripe Widgets.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Using TreeDropdownField in a Widget

Go to End

3 Posts   2065 Views


Community Member, 288 Posts

12 October 2009 at 11:45pm


I've been trying to use TreeDropdownField in one of my widgets but I can't get it to work. It seems like the javascript doesn't get applied properly when the TreeDropdownField is injected on the page like it is when you add a widget.

Does anyone know how to get this to work in a widget context?


Community Member, 501 Posts

13 October 2009 at 3:25am

No, that type doesn't work with Widgets, but have a look at this forum post where someone gives an alternative non-js solution which might help:


Community Member, 288 Posts

13 October 2009 at 3:27am

Thanks for the tip dio5!