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

Checkbox and radio group options #787

Closed
saitoreeper opened this issue Aug 7, 2018 · 4 comments
Closed

Checkbox and radio group options #787

saitoreeper opened this issue Aug 7, 2018 · 4 comments
Assignees

Comments

@saitoreeper
Copy link

Description: I want to display only one input to be filled in for the options instead of the side by side. ie. if one is filled in that needs to be the label and the value instead of being filled in twice.

capture

These 2 should only be 1 input and that input should be the label and value to be set.

I would appreciate any possible assistance

Kind regards
saitoreeper

@kevinchappell
Copy link
Owner

These seems common enough that maybe it should be a feature. Here is how it can be done with typeUserEvents https://codepen.io/kevinchappell/pen/oMzKRo

@saitoreeper
Copy link
Author

Thank You, this was a major help.

@simon-hevs
Copy link

I did this with jquery

@simon-hevs
Copy link

I did this as follows:

    $('.form-wrap.form-builder').on('keyup', function () {
        var target = $(event.target);
        if (target.hasClass('option-label')) {
            $(target).parent().find('.option-value').val($(target).val());
        }
    });

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants