Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radio settings #203

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

sebastian-marinescu
Copy link
Contributor

Adds support for radiogroup-settings. See #202 for details.

Resolves #202
But needs to wait for modxcms/revolution#16404 to be accepted.

@sebastian-marinescu
Copy link
Contributor Author

sebastian-marinescu commented Feb 27, 2023

Sneak-Preview:

image

How it would be used:

image

@Mark-H
Copy link
Member

Mark-H commented Nov 7, 2023

This is cool. As far as that core fix goes, do we have to implement some kind of version check to prevent radiogroups from being used on <3.0.4?

@sebastian-marinescu
Copy link
Contributor Author

Probably a good idea! And also we should do the same for the 2.x branch, when modxcms/revolution#16467 is accepted.

That version-check would need to go into this if-clause:

if ((field.xtype === 'radiogroup') || (field.xtype === 'xradiogroup')) {

Correct?

Do you know, if we have the MODX-version information there available?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature-Request: Radio-Button Settings
2 participants