I've added code to also alter nested paragraphs inside of a form if using the default widget ('paragraphs').

I've moved the form altering code to its own alterFields method.

I use this in conjunction with a custom Condition that detects the parent's node type (via a route match) so I can limit fields in the paragraph form based on that type.

Comments

beerendlauwers created an issue. See original summary.

beerendlauwers’s picture

Issue summary: View changes
owenbush’s picture

Status: Active » Needs review

That's cool. I will try and take a look at the patch soon. Thanks for contributing.

I've moved this into Needs Review.