backdrop-contrib / paragraphs

Paragraphs module to control your content flow
https://backdropcms.org/project/paragraphs
GNU General Public License v2.0
5 stars 11 forks source link

When configuring a field on a Paragraph type, delete doesn't work #57

Closed laryn closed 4 years ago

laryn commented 4 years ago

In 1.x-1.x:

When configuring a field on a Paragraph type, the "Delete field" button doesn't work:

Screen Shot 2020-03-31 at 3 09 33 PM

However the dropdown operation button does seem to work on the Paragraph Type's "Manage fields" page:

Screen Shot 2020-03-31 at 3 11 00 PM

laryn commented 4 years ago

This appears to be the case in the current release as well as in the latest 1.x-1.x version.

Example:

laryn commented 4 years ago

Dug enough to find the field_ui_field_edit_form and field_ui_field_edit_form_delete_submit functions but no code yet.

Particularly this line in the latter:

$form_state['redirect'] = array('admin/structure/types/manage/' . $instance['bundle'] . '/fields/' . $instance['field_name'] . '/delete', array('query' => $destination));