Home › Forums › ACF PRO › How to disable drag&drop ordering function on a specific Repeaters field? › Reply To: How to disable drag&drop ordering function on a specific Repeaters field?
Has someone else experienced their code not working anymore ??
This is the part which is not working anymore (for me):
$.extend(acf.fields.repeater, {
_mouseenter: function (e) {
if ($(this.$tbody.closest('.acf-field-repeater')).hasClass('disable-sorting')) {
console.log('HIT');
return false;
}
}
});
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
ACF gives Rareloop greater control over the WordPress admin experience. See how in our case study. https://t.co/IFafQupmrl
— Advanced Custom Fields (@wp_acf) May 15, 2023
© 2023 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.