Solved - Automated action button and adding by ajax, no refresh of the page
Posted: 25 Feb 2023, 12:36
Hi,
A little issue about the filter of automate action button in a field on the element page, when I add an entry in a subentity table in this element page, ajax didn't refresh page so the filter of automate action button is not re-testing. So my button doesn't disappear. I need to refresh my page to have my field with "good buttons" on it.
Snap 1 : on the element, my subentity is empty of items
Snap 2 : I just added a item in the subentity with the "add button" ; after adding an item, automate action verify some condition and normally change buttons in the entity, but it didn't work because page doesn't refresh (and even the field).
Snap 3 : after refresh the page, buttons are correct.
At the step of the snap 2, with some design (for example mine when I delete an element in the subentity, because button musn't be there), it's an issue because I can click on a button and action is running. No testing (filter) is operated.
A little issue about the filter of automate action button in a field on the element page, when I add an entry in a subentity table in this element page, ajax didn't refresh page so the filter of automate action button is not re-testing. So my button doesn't disappear. I need to refresh my page to have my field with "good buttons" on it.
Snap 1 : on the element, my subentity is empty of items
Snap 2 : I just added a item in the subentity with the "add button" ; after adding an item, automate action verify some condition and normally change buttons in the entity, but it didn't work because page doesn't refresh (and even the field).
Snap 3 : after refresh the page, buttons are correct.
At the step of the snap 2, with some design (for example mine when I delete an element in the subentity, because button musn't be there), it's an issue because I can click on a button and action is running. No testing (filter) is operated.