All the fields border color changes to red when we enter an invalid URL

Created on 8 July 2022, over 2 years ago
Updated 27 March 2023, over 1 year ago

Problem/Motivation

When we enter an invalid URL, all the fields border color change to red

Steps to reproduce

Set a Link type field to use widget "Link (with Attributes)".

Go to add/edit page for the respective content type (or any entity type) and set a wrong URL respective to the format (htts://www.google.com)

Proposed resolution

Change the validation system, put in error only the url part and not all the fields of the link.

πŸ› Bug report
Status

Needs work

Version

10.1 ✨

Component
LinkΒ  β†’

Last updated 3 days ago

Created by

πŸ‡²πŸ‡¦Morocco jamaoui

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

  • Needs screenshots

    The change alters the user interface, so before and after screenshots should be added to document the UI change. Make sure to capture the relevant region only. Use a tool such as Aviary on Windows or Skitch on Mac OS X.

  • Needs issue summary update

    Issue summaries save everyone time if they are kept up-to-date. See Update issue summary task instructions.

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