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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radio Group Support #2

Open
mosheduminer opened this issue Apr 3, 2022 · 1 comment
Open

Radio Group Support #2

mosheduminer opened this issue Apr 3, 2022 · 1 comment

Comments

@mosheduminer
Copy link

Hi, I'm using your library (thank you 馃檹), and I'm wondering what is lacking currently in terms of support for radio groups in forms? I would be willing to contribute a PR to add support.

@ragokan
Copy link
Owner

ragokan commented Apr 3, 2022

Hello, thank you for your interest in solform.

I think the main problem with radio button group for solform is not having a root. I mean solform handles everything with ref attattribute. Because there are multiple radio buttons without a root, the last one used with ref will take the the last element. If we can make it possible to have multiple elements with same name, we will not only have full support for radio group, we will also have full support for checkbox.

I hope it explains what the problem is briefly, sadly these days I have a project to work on and I wasn't able to focus on solform, but then I will try to implement these if you or other contributors can't do it.

Have a great day!

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

No branches or pull requests

2 participants