Field emptied when filled with a non-existing i18n code
Description
Attachments
1
Activity
Show:
Fixed
Details
Details
Assignee
Laurian Vostinar
Laurian VostinarComponents
Reporter
Mees van Winkoop
Mees van WinkoopFix versions
Sprint
None
Story Points
3
Time tracking
2h 32m logged
Affects versions
Priority
PagerDuty
PagerDuty Incident
PagerDuty

PagerDuty Incident
Created March 8, 2024 at 8:57 AM
Updated August 9, 2024 at 2:02 PM
Resolved April 11, 2024 at 10:58 AM
When filling a field in element properties, I can select an i18n key for the value by using i18n: in front of the label text (see screenshot). However, when I fill in a non-existing i18n code here (because I tend to add the label to an element first, and afterwards create the i18n key for it), the field will be emptied when I press Enter.
I have to click outside of the dropdown to leave the i18n key in. I'd prefer the label to stay there even if it's not an existing i18n key. Or maybe better even: notify the user that the i18n key doesn't exist yet, and allow them to enter a default value in a prompt or something.