Skip to content

disabled: true option doesn't work #21

Description

@capan

My options are like;
{
color: '#64bd63',
secondaryColor: '#dfdfdf',
jackColor: '#fff',
jackSecondaryColor: null,
className: 'switchery',
disabled:true,
disabledOpacity: 0.9,
speed: '0.6s',
size: 'large'
}
disabled: true option doesn't work.
It actually stops the onChange trigger. When I set disabled to false my onChange function doesn't work. But style of the button doesn't change and it is still clickable

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