-
-
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
Add new element and Modify existing one #23
Comments
Hey Trong, If you only need the toggle at render you can use something like this and call it after I made a quick jsFiddle example |
Revising checkbox to toggle at render using your kcToggle seems like the most straighforward way. However, the script has to be run after an user finishs drag & drop the checkbox field to the Preview area. Where is the most optimal place in your code to put that script? Please suggest. |
Hi Trong, |
Having option to change from checkbox to toggle would work in some scenarios. I'm looking for a clean way to replace checkbox entirely with toggle. Besides, another part of my question is how we can add an entirely new element? Besides the ones you have, I really need to create the star-rating element (value: 0-5). Please advise. |
Star rating is a good idea. There are plans to add new inputs, star rating could certainly be one of them. In the meantime you could use the radio group to accomplish a star rating with some css. Here is one example |
Thank you Kevin! I was able to leverage the css you shared. |
Excellent! |
Hi Kevin,
I'm trying to make changes to some existing form elements. For example: instead of checkbox, I want to make it like a True & False toggle.
I am kinda lost when going thu your code. Wonder if you can shed some lights on how to either add new element or modify existing one.
Thanks,
Trong
The text was updated successfully, but these errors were encountered: