Umbraco.CMS.Backoffice icon indicating copy to clipboard operation
Umbraco.CMS.Backoffice copied to clipboard

Bugfix: Auto generate alias

Open loivsen opened this issue 7 months ago • 2 comments

Description

Now using uui-input-lock component in the desired places. Should be working for workspaces and properties.

Re-enables autogeneration of an alias if the alias input become locked while it is empty 🤯🎉

Incidentally also fixes https://github.com/umbraco/Umbraco-CMS/issues/16246 because you can now tab to the lock.

Types of changes

  • [x] Bug fix (non-breaking change which fixes an issue)
  • [ ] New feature (non-breaking change which adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Chore (minor updates related to the tooling or maintenance of the repository, does not impact compiled assets)

How to test

  • Check if alias autogeneration is enabled for new properties and workspaces.
  • Check if alias autogeneration is disabled for existing properties and workspaces.
  • Check that autogeneration is disabled and stays disabled when the alias has become unlocked.
  • Check if autogeneration can be turned back on by emptying the alias and locking it.

loivsen avatar Jul 04 '24 12:07 loivsen