In child form, why we can edit and delete row even though row is not selected? this happen after we edit some item and save child form

Hello, supportive community,
Here i found something (it's glitch or bug or something from my end mistake),

when we select any row from child form and edit that row, its open edit form for that row respectively,
when we close that form then there is no worry, but when we save that form, the is refresh and still we can show 'Edit' and 'Delete' button, but not any row is selected :upside_down_face: (bit confusing right?).

Here i attached some screens for better understanding,

1>

After save child form
2>

as you can see an image, we can still got the option for edit/delete the last selected item.

Thanks and Good day ahead...!

Hello @harshp924,

Could you please answer the below questions so I could reproduce the case on my side.

Are you using SharePoint Online?

Do you have any custom code in the parent and child forms? Could you please share it.

Thank you!

Thank you @mnikitina for looking into this,
Yes, i'm using SharePoint online.
I have custom code in parent form as below,

    fd.spRendered(function () {
   fd.control('SPDataTable1').buttons[0].disabled = true;
    fd.field('myLogin').$on('change', function(value){
        if(value=="") {
            fd.control('SPDataTable1').buttons[0].disabled = true;
        }
        else{
        fd.control('SPDataTable1').buttons[0].disabled = false;
        }
    });

     var dt = fd.control('SPDataTable1');
        dt.ready().then(function() {
      
            filterDT();
        });

        //filter List or Library with new value when Search field changes
        fd.field('myLogin').$on('change', function() {
            filterDT();
        });

        function filterDT(){
            dt.filter = "<Contains><FieldRef Name='myLogin'/><Value Type='Text'>"
                + fd.field('myLogin').value + "</Value></Contains>";
            dt.refresh();
        }
    })

==> below code is in child form (New),
window.fd = fd;
fd.spRendered(function() {
var parentForm = window.top.fd;

    if (parentForm) {

        //Set field values with the values from the parent on form load
        fd.field('myLogin').value = parentForm.field('myLogin').value;
      
    }
});

Thanks.

Hello @harshp924,

Thank you for the details!

I've reproduced the case on my side. Seems that this is an issue on our side. I passed the information to the development team. I will let you know as soon as I get the reply.

1 Like

Thank you a lot @mnikitina for looking into this,
It is pleasure to work with wonderful and supportive community...... :love_you_gesture:

1 Like

Hello @mnikitina,
Any update for this issue?

Thanks.

Hello @harshp924,

I'm sorry for the delay.

We are working on a fix. The update is scheduled for next week. I will let you know as soon as it is published.

Thanks for response @mnikitina....!

Hello @harshp924,

We published a fix. Please completely clear the browser cache and check that item is not selected after the form is submitted.