NagaCommerce
NagaCommerce
You can just add this check in show.. if( $(".m_repeater div[data-repeater-item]").length
Previous comment is not so flexible..you can try this instead.. $('.m_repeater').repeater({ initEmpty: false, show: function () { if( $(this).parents(".m_repeater").attr("data-limit").length > 0 ){ if( $(this).parents(".m_repeater").find("div[data-repeater-item]").length
Still missing the allowed type multiple-choice...in getTypeAllowableValues multiple-choice is missing which causes getAttributes api call to throw exception