Provide an option to require a target

Created on 19 December 2023, 11 months ago

Motivation

In specific cases - i.e. when using Drupal in a headless system -, setting a target may be required as not doing so might result in invalid HTML (like an empty target attribute) if the consuming frontend doesn't check values.
Thus, making the selection of a target required on the CMS is a solution to force the editor to make a choice.

Proposed resolution

Add an option in form display field settings to require a target.

Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

🇩🇪Germany broon Potsdam

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