unclecheese / silverstripe-display-logic

The Display Logic module allows you to add conditions for displaying or hiding certain form fields based on client-side behavior.
BSD 3-Clause "New" or "Revised" License
74 stars 71 forks source link

TreeDropdownField doesn't work #41

Closed tractorcow closed 9 years ago

tractorcow commented 9 years ago

Because it doesn't allow you to set custom attributes within its template.

unclecheese commented 9 years ago

That's what DisplayLogicWrapper is for, I think.

https://github.com/unclecheese/silverstripe-display-logic#dealing-with-non-standard-form-fields

tractorcow commented 9 years ago

Ah, I should read thedocs :) I'll close then heh.