Problem with element that has a #prefix with id

Created on 14 July 2015, almost 9 years ago
Updated 17 February 2023, over 1 year ago

I have a multi-field inside a custom entity, and on the form_alter I add a #prefix with "

" to this field. Then after clicking on the "Remove button", a new wrapper is created inside the old one, creating a nesting of wrappers with the same id.
To fix this, I created a check inside multiple_fields_remove_button_js to give preference to the field's wrapper id, if there is one.
πŸ› Bug report
Status

Closed: outdated

Version

1.4

Component

Code

Created by

πŸ‡§πŸ‡·Brazil caminadaf

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024