modmore / ClientConfig

ClientConfig is a MODX Revolution Extra to allow clients to maintain settings in a user friendly way.
https://docs.modmore.com/en/Open_Source/ClientConfig/index.html
MIT License
28 stars 27 forks source link

Feature-Request: Radio-Button Settings #202

Open sebastian-marinescu opened 1 year ago

sebastian-marinescu commented 1 year ago

I would like to be able to use radio-inputs for some settings. In my opinion that would be useful for little "switch-settings" like for example "enable/disable custom scrollbar". Also, as currently I am using dropdowns for these two options, this would save the user 1 click :-)

As Mark attempted in #176 with the multi-select checkboxes, I also ran into the same JS-issue. Jako also stumbled upon the exact same issue https://github.com/modxcms/revolution/issues/12177 some time ago.

I will prepare a PR for my own feature-request here, and I am attempting a PR on the actual issue in the MODX code.