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

How to add options attr on a custom control #866

Open
Skeldrarg opened this issue Nov 13, 2018 · 5 comments · May be fixed by #1510
Open

How to add options attr on a custom control #866

Skeldrarg opened this issue Nov 13, 2018 · 5 comments · May be fixed by #1510

Comments

@Skeldrarg
Copy link

Skeldrarg commented Nov 13, 2018

Description:

I try to add the option attribut (in screenshot) in a custom control. I read all the docs but can't find how I can do this.
Thank you for your help

Environment Details:

  • formBuilder Version: 3.1.0
  • Browser: Chrome
  • OS: windows 10

Expected Behavior

Actual Behavior

Steps to Reproduce

Screenshot - (optional)

optionsfield

@Fenix-ops
Copy link

@Skeldrarg hi did you find any solution of this

@kashif-ali-khan
Copy link

@Skeldrarg hi did you find any solution of this

I am also looking for something like this.
please let me know if you have any solution / code for achieve this
@kevinchappell

@BatinSimsek
Copy link

@kashif-ali-khan Plz let me know if you find anything i am trying to do the same

@kashif-ali-khan
Copy link

@kashif-ali-khan Plz let me know if you find anything i am trying to do the same

Hi,
I use this code pen as reference https://codepen.io/kevinchappell/pen/oMzKRo shared by @kevinchappell

Here "onadd" event is useful,
and you can add your custom html

and other way is https://formbuilder.online/docs/formBuilder/options/onAddOption/
and it is shared by @kevinchappell ,
But, i am not sure about this approach

Thanks

@BatinSimsek
Copy link

@kashif-ali-khan
Thx for the response.
What if you create a custom type and you want to add a option field. How does that work ?
The doc are very unclear about that.

Or can you give me a example for a custom type in codepen?

see picture below,
afbeelding

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 a pull request may close this issue.

4 participants