-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Custom Checkbox-Group Control Not Working as Expected #1523
Comments
You have no values array in the build stage so you have a Exception.
Custom controls with Options is not currently supported. You can try out my WIP PR that implements such a feature #1510 |
Please read the original response given to you. |
@lucasnetau |
There is an example in the linked PR #1510 Documentation for the options feature has yet to be written which is why it is not merged. |
Hello,
I've been working on implementing a custom checkbox-group control using the formBuilder library. The goal was to extend the functionality of the existing controls to include a new control that allows users to select multiple options from a group of checkboxes. I followed the documentation and examples provided but ran into issues getting the custom control to work as expected.
Code snippet:
Expected Behavior:
The custom checkbox-group should render a group of checkboxes based on the configuration provided and allow multiple selections.
Actual Behavior:
The custom control does not render correctly, and no checkboxes are displayed on the form.
Steps to Reproduce:
Add the custom control code to the formBuilder initialization script.
Try to add the 'MX Checkbox Group' control to a form.
Observe that the control does not appear as expected.
Environment Details:
formBuilder Version: 3.19.1
Browser: Chrome 121
OS: Windows 11
Could someone please assist me in troubleshooting this issue? Any guidance or suggestions would be greatly appreciated.
Thank you!
The text was updated successfully, but these errors were encountered: