Open icecaster opened 2 months ago
~This was fixed as part of https://github.com/bringyourownideas/silverstripe-maintenance/pull/220 - because of the breadth of the changes it won't be tagged until the next minor release.~
Oops, wrong issue
Looks like this is a frontend problem. The nodes are marked as disabled in the JSON request.
Just seems like the front end doesn't care. Arguably, we should probably have a check to make sure that you get block server side if you pick a disabled option.
Module version(s) affected
5
Description
TreeDropdownField & its subclasses (TreeMultiselectField)->DisableFunction not working
How to reproduce
This code should produce a dropdown field of all groups, none should be selectable:
Possible Solution
No response
Additional Context
No response
Validations
silverstripe/installer
(with any code examples you've provided)