Jump to content

Issue when I have several Member fields on page


White Miku

Recommended Posts

Hello.

There is several screenshots with descriptions:

I've created an ACP page with table:

image.png

Every row has an Edit button which launching this dialog:

image.png

You on first launch OK. All fields are filled with content from DB.

But if I close this dialog w/o saving and open another dialog, I see this:

image.png

Added by field is empty. But content exist in DB.

Then I close this dialog and open first dialog again:

image.png

There is appeared new member badge O.o.

Only page refresh fixes this. After refreshing page secon dialog displays normal result:

image.png

This is code of edit() function:

image.png

I've tried adding unique ID's to each field in dialog but this not helped.

Link to comment
Share on other sites

38 minutes ago, HeadStand said:

You should use the property data-ipsDialog-forceReload=true. In your rowButtons function, this would be included in the data array, for example:


data => array( 'ipsDialog' => '', 'ipsDialog-forceReload' => true )

 

Thank you very much ^_^

My mistake...

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...