- Issue created by @prashant.c
- 🇺🇸United States smustgrave
Thanks for reporting, can we add a test case showing the bug
- 🇮🇳India prashant.c Dharamshala
Attempted to write the test, needs to be reviewed.
When adding a new search page at /admin/config/search/pages, the "Label" field is used to auto-fill the machine name. However, if a user changes the label after the initial autofill, the machine name does not update accordingly. This behavior is inconsistent with other places in the core (e.g., content types, menus), where the machine name updates automatically as long as it has not been manually edited.
Update the behavior to ensure that the machine name field continues to sync with the label field, unless the machine name has been manually edited. This would make the experience consistent with other parts of Drupal core.
Identify the form and field components responsible for this behavior.
The machine name field under the search page creation will dynamically update when the label is changed (unless manually edited).
None.
None.
None.
Active
11.0 🔥
search.module
Thanks for reporting, can we add a test case showing the bug
Attempted to write the test, needs to be reviewed.