You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've left in the existing "typo" names onEnable and onDisable they should be consistent with other callbacks and use onEnabled and onDisabled however this would cause backwards compat issues.
The bug will no longer produce however, because the default settings object should now match spellings nonetheless.
After downloading Semantic-UI 2.1.4 I have tried to disable a checkbox using the command:
$("#pageCoreBasicSwiper").checkbox("disable");
It caused a null error because I don't have a onDisable callback and in semantic the empty callbacks are incorrectly defined as:
$.fn.checkbox.settings = {
...
onEnabled : function(){},
onDisabled : function(){},
...
}
Changing them to onEnable and onDisable worked correctly.
The text was updated successfully, but these errors were encountered: