Update to my previous fix to add preventDefault and stopPropagation in
order to always trigger even if there is no onChange handler or no
label set. Otherwise the double-trigger bug still exists when there is a label but no
onChange handler.
@luqin Apologies, I just found that the bug still existed under some conditions with my previous fix. This should fix it for good though by moving it outside the if statement.
onChange
Update to my previous fix to add preventDefault and stopPropagation in order to always trigger even if there is no onChange handler or no label set. Otherwise the double-trigger bug still exists when there is a label but no onChange handler.