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
Problem is in persist function :
// some binded events are redundant (change & paste for example), persist only once by field val
if ( this.val === this.getVal() ) {
return;
}
The this.val is persisted on each input of the group.
Suggested fix :
// some binded events are redundant (change & paste for example), persist only once by field val
if (!this.$element.is('input[type=radio], input[type=checkbox]') && (this.val === this.getVal())) {
return;
}
Localstorage is updated only at first click on a radio button.
See jsfiddle :
https://jsfiddle.net/v9zzcbww/5/
Select one value, then select the second, and go back to the 1srt one. The localstorage will remain on the second value.
The text was updated successfully, but these errors were encountered: