Switching network doesn't work properly when multiple fields on page

Created on 23 February 2021, over 3 years ago
Updated 22 May 2023, over 1 year ago

Problem/Motivation

Switching the selected network doesn't reliably update the prefix on the link field if there are multiple social media fields rendered at once. This is due to the wrapper id being static.

Steps to reproduce

Create a node with two social link fields.

Proposed resolution

use Html::getUniqueId() to ensure the ID is unique.

Remaining tasks

Review

User interface changes

None

API changes

None

Data model changes

None

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada nickdickinsonwilde Victoria, BC (T'So-uke lands)

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.71.5 2024