Closed TechPro424 closed 1 year ago
use the CyclingListController
@isXander I don't really understand how it works, could you please explain?
@isXander No, CyclingListController
is used to "where once clicked, cycles through in the provided list." (in the JavaDoc). I think it is used to cycle through something like an enum, not for custom objects.
I wrote my own Controller and Widget to render this GUI, but it cannot save the config in the custom object. I wonder is there an example of this?
Currently, there does not seem to be a way to build GUIs for configs with Lists of custom objects, please add a way to do this
For example, if I have a custom class such as
And the following config entry
There does not seem to be a way to build a GUI for it. Please add a way to do so.