We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The data-is-dirrty value of Field select2 multiple is always true.
The solution I found to resolve `
checkValues: function(){ var d = this; this.form.find("input, select, textarea").each( function(){ var initialValue = $(this).attr("data-dirrty-initial-value"); if($(this).val() != initialValue){ $(this).attr("data-is-dirrty", "true"); }else{ $(this).attr("data-is-dirrty", "false"); } }); this.form.find("input[type=checkbox], input[type=radio]").each( function(){ var initialValue = $(this).attr("data-dirrty-initial-value"); if($(this).is(":checked") && initialValue != "checked" || !$(this).is(":checked") && initialValue == "checked"){ $(this).attr("data-is-dirrty", "true"); }else{ $(this).attr("data-is-dirrty", "false"); } }); this.form.find("input[type=search]").each( function(){ $(this).attr("data-is-dirrty", "false"); }); var isDirty = false; this.form.find("input, select, textarea").each( function(){ if( $(this).attr("data-is-dirrty") == "true" ){ isDirty = true; } }); if(isDirty){ d.setDirty(); }else{ d.setClean(); } d.fireEvents(); },`
The text was updated successfully, but these errors were encountered:
Thanks !
Sorry, something went wrong.
No branches or pull requests
The data-is-dirrty value of Field select2 multiple is always true.
The solution I found to resolve
`
The text was updated successfully, but these errors were encountered: