Open
Description
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
v13.1.0
Bug summary
Issue is based on this PR by @richarth.
Original PR description:
When adding a new property with a short name such as A, an invalid alias will be created.
If you then correct just the alias you won't be able to save your new property. I've added a Playwright test which demos this.
You can get around this by changing the name and the alias but it isn't immediately obvious, as the error on the name isn't flagged.
I've also added a screen recording of the problem below.
e30ffb11-6344-427a-b6f3-a62a4e0b7ab1.mp4
Steps to reproduce
- Add a property and give it a single character alias (e.g. "a")
- Try and save the property, it fails.
- Make property alias longer
- Try and save the property, it still fails.
Expected result / actual result
Property editor can be saved after the alias is made longer.