UriLinkFormatter incorrect schema types for 'rel' and 'target'.

Created on 7 April 2025, about 1 month ago

Problem/Motivation

The 'rel' and 'target' checkboxes have return_value of type strings yet the schema is defined as boolean which is resulting in not accurately outputting correct attributes when link is rendered with these options checked.

Steps to reproduce

For a uri subfield type, set the display setting to formatter type 'Link'. Set the checkboxes for 'rel' and/or 'target'. Add an entity with this field value and observe rendered output for the atttributes are not using the return_value defined in settings form which means the form is saving the settings a booleans.

Proposed resolution

Change the schema for these 2 options to string.

πŸ› Bug report
Status

Active

Version

3.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States apmsooner

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