Closed danyj closed 9 years ago
Hm , no , the click triggers the switch on/off but seems like the value is not changing since there is a hidden input in there value inactive http://prntscr.com/8mhk28
value active
Try .find('input[type="checkbox"]')
Thnx bud that helped , right one is this
$('ID').find('input[type="checkbox"]').prop('checked', true).trigger('change');
$('ID').find('input[type="checkbox"]').prop('checked', false).trigger('change');
I found a solution for this #899 via multi-picker option data attributes and on change I run small js to set defaults per style, can you please show me the proper way to trigger change on swith-option type ,
I tried
but is not 100%