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
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