Custom List Classes not visible on settingForm after save

Created on 8 August 2024, 5 months ago

Problem/Motivation

When using the Custom List options on Advance link attributes widget the custom class values are not visible on settings form but they are being saved.

Steps to reproduce

  1. Use the Custom class list option on any of the field using Advance Link Attributes widget.
  2. Add some classes for testing.
  3. Save the settings for ALA.
  4. The values are not saved when previewed again.

I have attached a video as well for reference.

Proposed resolution

Update the #default_value at AdvancedLinkAttributesFieldWidget class in settingsForm to use the correct variable like this:
'#default_value' => $this->getSetting('ala_link_class'),

🐛 Bug report
Status

Needs review

Version

2.5

Component

Code

Created by

🇮🇳India siddharthjain

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024