Having issues with AngularJS conflicting with iCheck jQuery and not able to retrieve data from radio buttons. It works fine without the 'minimal' class but stops working when the class is added.
<input type="radio" ng-model="gradesForm.status" name="r1" value="inactive">
The JavaScript function being used:
//iCheck for checkbox and radio inputs
$('input[type="checkbox"].minimal, input[type="radio"].minimal')
.iCheck({
checkboxClass: 'icheckbox_minimal-blue',
radioClass: 'iradio_minimal-blue'
})
iCheck.js file content:
/*!
* iCheck v1.0.1, http://git.io/arlzeA
* =================================
* Powerful jQuery and Zepto plugin for checkboxes and radio buttons customization
*
* (c) 2013 Damir Sultanov, http://fronteed.com
* MIT Licensed
*/
(function($) {
// The logic and functionality of the plugin are defined here
})(window.jQuery || window.Zepto);
minimal.css
/* Minimal skin styling for iCheck plugin - black */
(Styles are defined here)
blue.css
/* Minimal skin styling for iCheck plugin - blue */
(Styles are defined here)