formBuilder icon indicating copy to clipboard operation
formBuilder copied to clipboard

How to add custom fields for "radio-group" options?

Open jonamariya opened this issue 7 years ago • 8 comments

Description:

Form builder is really cool and I am using this in my new project . How to add custom fields for "radio-group" options? I want to add custom attributes to the 'checkbox-group' Options. Currently Option name ,option value and selected are available, I want to add one more field to this ,inorder to capture the initial state like disabled. Could you please guide me?

Environment Details:

  • formBuilder Version: 2.9.8
  • Browser: Chrome
  • OS: Windows

Screenshot

image

jonamariya avatar Jan 30 '18 01:01 jonamariya

I have the same issue

juanbenitopr avatar Jan 30 '18 12:01 juanbenitopr

Same issue

ktangellapalli avatar Mar 15 '18 11:03 ktangellapalli

@ktangellapalli , @jonamariya I have developed a custom fix in my fork, you can use it if you want.

@kevinchappell I would like to try a pull request ;)

juanbenitopr avatar Mar 15 '18 11:03 juanbenitopr

@juanbenitopr i pulled your repo, but i didnt find what i want. No more text fields for radio/checkbox options

ktangellapalli avatar Mar 15 '18 12:03 ktangellapalli

@ktangellapalli you was looking for something like this ? capture

mourareaupro avatar Feb 19 '19 08:02 mourareaupro

@ktangellapalli you was looking for something like this ? capture

I am searching.

https://github.com/kevinchappell/formBuilder/issues/985 Help mmeee :)

duhanbulak avatar Aug 17 '19 12:08 duhanbulak

@mourareaupro is there any solution for custom attributes for Select->option so far?

Trying to use typeUserAttrs, but there I am able to add custom attribute just to the select, not it's options.

My use case is: every option of a select should have added additional 'price' attribute. At the form submit, I need to get all prices.

musla avatar Oct 16 '19 10:10 musla

@ktangellapalli , @jonamariya I have developed a custom fix in my fork, you can use it if you want.

@kevinchappell I would like to try a pull request ;)

How can i access your custom fix ?

kashif-ali-khan avatar Jul 16 '20 11:07 kashif-ali-khan