Home Forums ACF PRO Feature Request: 2 Step Delete Reply To: Feature Request: 2 Step Delete

  • Hi @traviskelleher

    Thanks for the feature request. I do agree that this prompt is a good idea, however I feel that many devs would become frustrated at the decrease in speed to operate the repeater field.

    I think a good solution at the moment would be to add a custom prompt like so:

    add_action('acf/input/admin_footer', function(){
    	<script type="text/javascript">
    	(function($) {
    		$('body').on('click', '.acf-repeater-remove-row', function( e ){
    			return confirm("are you sure?");