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

id is not populated for radio boolean fields #1139

Closed
epicfaace opened this issue Jan 20, 2019 · 0 comments
Closed

id is not populated for radio boolean fields #1139

epicfaace opened this issue Jan 20, 2019 · 0 comments

Comments

@epicfaace
Copy link
Member

Description

ID is not populated for radio boolean fields.

Steps to Reproduce

Playground example

Expected behavior

I expect there to be an element (i.e. field-radio-group) to have id equal to "root", rendering the following markup:

<div class="form-group field field-boolean">
    <div class="">
        <div class="">
            <div></div>
            <div></div>
            <div class="field-radio-group" id="root">
                <div class="radio "><label><span><input type="radio" name="0.5118129510759399" value="true"><span>yes</span></span></label></div>
                <div class="radio "><label><span><input type="radio" name="0.5118129510759399" value="false"><span>no</span></span></label></div>
            </div>
            <div></div>
            <div></div>
        </div>
        <div class="col-xs-2"></div>
    </div>
</div>

Actual behavior

<div class="form-group field field-boolean">
    <div class="">
        <div class="">
            <div></div>
            <div></div>
            <div class="field-radio-group">
                <div class="radio "><label><span><input type="radio" name="0.5118129510759399" value="true"><span>yes</span></span></label></div>
                <div class="radio "><label><span><input type="radio" name="0.5118129510759399" value="false"><span>no</span></span></label></div>
            </div>
            <div></div>
            <div></div>
        </div>
        <div class="col-xs-2"></div>
    </div>
</div>

Version

1.2.0

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

No branches or pull requests

1 participant