You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
to clear all action buttons in the grid field detail form.
When using the same code for a versioned data object the default buttons "save", "publish", etc. remain, meaning one can only add new buttons, not remove existing ones.
This seems to be due to the difference in Controllers\ItemRequest.php where this code overwrites the buttons, whereas in Controllers\VersionedItemRequestthis code only causes the buttons to be appended.
Why is there the difference in this behavior? And is there any way to change this and/or remove buttons from the gridfield detail form of versioned objects?
The text was updated successfully, but these errors were encountered:
Valandur
changed the title
Cannot override actions of versiond data object detail form
Cannot overwrite actions of versiond data object detail form
Jul 2, 2018
Valandur
changed the title
Cannot overwrite actions of versiond data object detail form
Cannot remove actions of versiond data object detail form
Jul 2, 2018
In a normal data object one can have a function such as:
to clear all action buttons in the grid field detail form.
When using the same code for a versioned data object the default buttons "save", "publish", etc. remain, meaning one can only add new buttons, not remove existing ones.
This seems to be due to the difference in
Controllers\ItemRequest.php
where this code overwrites the buttons, whereas inControllers\VersionedItemRequest
this code only causes the buttons to be appended.Why is there the difference in this behavior? And is there any way to change this and/or remove buttons from the gridfield detail form of versioned objects?
The text was updated successfully, but these errors were encountered: