Okay
  Public Ticket #2802489
the document of the previous line remains
Closed

Comments

  • Stefan started the conversation

    when I add the new line the document of the previous line remains. I want all the fields to be empty

    how can i fix it?

  • [deleted] replied

    Hi Stefan

    Thank you for reaching out to us.

    Could you please explain the issue you are facing in more detail and share with us some screenshots or a url link to the frontend where we can see this behavior? 

    How was the table created, what are the fields you would like to edit and so on?

    When you add a new row, everything that was previously added in the table will stay there, alternatively you can use the editing feature to edit an existing row and replace the values that were previously there.

    We have an Excel like editor that makes bulk deleting of table data easier so you can clear your table by selecting a range of cells and hitting Backspace key on your keyboard.

    We will be waiting for further clarification so we can provide you with the best solution.

  • Stefan replied

    Ok, my issue is happening like this:

    - I have a table with X columns, and one column data type is "url link" with editor input type as "attachment";
    - Now, I want to Insert new row, in the beckend, the pop-up appears, completing all the data, and uploading/inserting my file in the column explained earlier;
    - All data filled, I am pressing "Apply and add new row";
    - Now, the next pop-up appear, and all cells are ready to be filled with the next data, EXCEPT, the attachment column, I already have the earlier file inserted here, this should not be happened;

    The thing is everytime I add a new line with attachments data, for the next line, last file it is already inserted, should be empty.
    Regards.

  • [deleted] replied

    Hi Stefan

    Thank you for clarifying. 

    Unfortunately we could not recreate the issue on our end, could you please provide us with a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.


  •   Stefan replied privately
  • [deleted] replied

    Hi Stefan

    Thank you for providing the information.

    I have forwarded this to our developers to investigate further. I will update you as soon as I hear back from them.

    We appreciate your time and patience.

  • [deleted] replied

    Hi Stefan

    Thank you for your patience.

    There was a bug in our file wp-content/plugins/wpdatatables/assets/js/wpdatatables/wpdatatables.js:1347 you will find this

    $('#wdt-frontend-modal tr.idRow .editDialogInput').val('0'); 
    below that, add this:
      $('#wdt-frontend-modal .fileinput').removeClass('fileinput-exists').addClass('fileinput-new');
                            $('#wdt-frontend-modal .fileinput').find('div.fileinput-exists').removeClass('fileinput-exists').addClass('fileinput-new');
                            $('#wdt-frontend-modal .fileinput').find('.fileinput-filename').text('');
                            $('#wdt-frontend-modal .fileinput').find('.fileinput-preview').html('');
    

    Please turn off Minify JS and clear your website and browser cache.

    This is will be included in the next update so you won't have to do this again.

  • Stefan replied

    Thank you. This fix solved the issue.

    Regards.

  • [deleted] replied

    You are most welcomesmile.png

    If there is anything else we can assist you with please don't hesitate to open a new ticket.

    Have a wonderful day!