contao / core-bundle

[READ-ONLY] Contao Core Bundle
GNU Lesser General Public License v3.0
123 stars 58 forks source link

Add removeField to the palette manipulator #1668

Closed dmolineus closed 5 years ago

dmolineus commented 6 years ago

This PR adds the ability to remove fields using the palette manipulator.

Implemented behaviour:

Removing a whole legend does not make sense to me, so it's not part of the PR.

leofeyer commented 5 years ago

Merged in contao/contao@1e49b07ce00580138d50253644e9f67a9882ada1. Thank you @dmolineus.

As you have discussed, I have renamed $parent to $legend and made it a string, as you cannot have the same field in multiple field sets.