Paragraphs integration - after ajax

Created on 10 July 2023, over 1 year ago

Problem/Motivation

The paragraph integration works well except it doesn't seem to trigger validation on pghs added after page load, i.e. by clicking to 'add paragraph of type x' i.e. after ajax.

Steps to reproduce

Add a paragraph ref field to your content type.
In 'manage form display' set it to be 'Paragraphs (stable)' and set it to be closed.
Mark one or more fields on the paragraph as 'Required on publish'.
When you go to add a new node, click to add a paragraph of the relevant type and you'll see the visual indicator (blue triangles) on the paragraph form, but you will be able to save (publish) without the fields being filled in.

Proposed resolution

Add 'after ajax completes' function to the code. I am not much of a coder, so forgive my stab at the right way of saying this.

✨ Feature request
Status

Active

Version

1.6

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States Katy Jockelson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024