Skip to content

Changing checked state via javascript doesn't update the label #35

@bit5

Description

@bit5

When changing the state of the checkbox using jquery script, the checkbox doesn't switch visually.

Look at this code
<input id="chk" type="checkbox") />
$('#chk').checkboxpicker();
$('#chk').prop('checked', false).trigger('change');

You will see the checkbox does not switch/toggle.
Any idea how to fix it?

Cheers,
Bit5

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