If the block field is added to a paragraph type (using paragraphs module), the ajax replaces the wrong form.
Steps to reproduce:
* Install block field and paragraphs modules
* Create a content type
* Install paragraphs module and create a new paragraph type
* Add a block field to the new paragraph type with single value
* Add a paragraph field with unlimited values
* Add a new content
* Add a paragraph and select a block for the block field. The configuration form for that block should appear
* Add another paragraph and select another block for the block field. Instead of the configuration form for that block to appear in the second paragraph, the configuration form of the first paragraph is replaced.
Comment | File | Size | Author |
---|---|---|---|
#2 | block_field-fix-configuration-form-wrapper-id-2834309-2.patch | 650 bytes | mmrares |
|
Comments
Comment #2
mmrares CreditAttribution: mmrares at AmeXio commentedI've created a patch that takes into account field parents when creating the settings_id.
Comment #3
jrockowitz CreditAttribution: jrockowitz commented@mmrares I will definitely commit any patch that makes sense (which yours does) and passes all the existing tests. I am setting this ticket's status to 'Needs Review' to trigger the test bot.
Comment #5
jrockowitz CreditAttribution: jrockowitz commented