machine name form elements makes broken machine names

Created on 31 July 2025, 24 days ago

Problem/Motivation

When I enter 'path_alias' as the name for my Edit UUID configuration config entity, the JS makes the machine name 'path-alias'.

This is an invalid machine name, as it contains a '-'.

The problem is probably this:

        'replace' => '-',

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇬🇧United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024