You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TreeDropdownField::setDisableFunction() has no visual or functionality affects in at least 2.1.17 (but likely in 2.0 as well), where as in 1.13.22 the options are faded and not clickable. In 1.13.22 this appears like the below:
Note in 1.13 this will properly allow selection at any depth.
How to reproduce
To Reproduce create a Test Page type for example:
class TestPage extends Page {}
Then seed a mix of page types in the page tree including at least one TestPage at any depth and add a TreeDropdownField to another object that has a disable function that simply checks to see if the incoming page is an instance of TestPage.
Check that there isn't already an issue that reports the same bug
Double check that your reproduction steps work in a fresh installation of silverstripe/installer (with any code examples you've provided)
The text was updated successfully, but these errors were encountered:
UndefinedOffset
changed the title
TreeDropdownField::setDisableFunction() has no visual affect
TreeDropdownField::setDisableFunction() has no visual or functional affect
Feb 27, 2024
Module version(s) affected
2.1.17
Description
TreeDropdownField::setDisableFunction()
has no visual or functionality affects in at least 2.1.17 (but likely in 2.0 as well), where as in 1.13.22 the options are faded and not clickable. In 1.13.22 this appears like the below:Note in 1.13 this will properly allow selection at any depth.
How to reproduce
To Reproduce create a Test Page type for example:
Then seed a mix of page types in the page tree including at least one
TestPage
at any depth and add aTreeDropdownField
to another object that has a disable function that simply checks to see if the incoming page is an instance ofTestPage
.Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)The text was updated successfully, but these errors were encountered: