Skip to content

icheck-primary is not working in Table #13

Description

@DrXSsive

Hey Guys,

I recently started using icheck but got into problem, it is not working with bootstrap table. I am using Asp.Net 5 framework. Here is my code:

<table class="table table-bordered table-hover" style="border-top: 1px solid #dee2e6 !important">
    <thead>
        <tr>
            <th width="50%">Permissions</th>
            <th width="25%">Read</th>
            <th width="25%">ReadAndWrite</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <td>Admin User</td>
            <td>
                <div class="icheck-primary">
                    <input asp-for="Admin_User_Read">
                    <label class="form-check-label"></label>
                </div>
            </td>
            <td>
                <div class="icheck-primary">
                    <input asp-for="Admin_User_ReadAndWrite">
                    <label class="form-check-label"></label>
                </div>
            </td>
        </tr>
    </tbody>
</table>

Here is the output:
Capture

The issue I am facing is, I am unable to toggle the check box inside the table or unable to click.

Any help would be appriciated.

Regards
D

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions