Nested form elements & OH: Additional slot row disappears after value change

Created on 2 June 2024, 6 months ago
Updated 20 September 2024, 2 months ago

Problem/Motivation

Additional slot row disappears after value change when used in nested paragraphs (paragraph in another paragraph type)

D10, admin theme Gin

Steps to reproduce

Create a paragraph structure like:

1. Component (paragraph type)
-- Some field set one (nested paragraph type)
-- -- Office hours
-- -- [other fields]
-- [other field sets

2. Click "Add time slot"

3. Change any (time) value in the new slot

4. The row will disappear (the value is still there, just visually removed)

Proposed resolution

Adjusted js file to account for script re-initiations due to paragaph changes

Remaining tasks

Test

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code - widget

Created by

🇦🇺Australia max.valetov

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

Comments & Activities

Production build 0.71.5 2024