Support a required link_type input form element

Created on 30 January 2024, 5 months ago
Updated 1 February 2024, 5 months ago

Problem/Motivation

When using this field and its field widget with a required field, the Link type form element is not marked required along with the other URL and Link text form elements.

Arguably this is a bug, though I imagine marking this as required will create other UX issues such as omitting a value if there should be a type.

Steps to reproduce

* Add a Typed Link field
* Mark field as required
* Render the entity form
* Observe URL and Link text are required inputs and styled as such
* Observe Link type isn't required

Proposed resolution

Not sure, let's discuss
* If field is required, set link_type element as required
* add field widget setting to make required

Remaining tasks

to be determined

User interface changes

to be determined, likely

API changes

N/A

Data model changes

to be determined, possibly

✨ Feature request
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States jasonawant New Orleans, USA

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

Comments & Activities

Production build 0.69.0 2024