-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
As a user, I need to be informed that I cannot have spaces in a data model name #14005
Comments
If it has the same rules as |
Yes! Can you show us the text for LayoutSetName validations, so we can double-check if we can reuse them? @lassopicasso |
Sure 🙂 Here is the text keys used in
Point number 3 is called if there is a white space. Here is the code:
|
@Ildest we should decide whether these validation messages should end with a period. Interested in hearing what you and Dorte find out 😊 Here are a couple of examples: |
Description of the bug
When you create a new data modell, you get validation messages for different errors that you can make, for example if the name exists already or you have entered a name with invalid characters.
However, there is no validation message if you enter a name with a space in it. You are allowed to create the model, but when you try to generate it, you get an error message, and you cannot use it later when you select it for a component when you design.
Solution
Make a validation message similar to the other validation messages for creating a data model name, the first time the user presses space when they create a name.
The Opprett datamodell button must be disabled as in this message, and the text should be:
Datamodellnavnet kan ikke ha mellomrom.
Steps To Reproduce
You get no validation message/warning that the name cannot contain spaces.
Additional Information
Thanks to @lassopicasso for uncovering this problem with me, and to @Annikenkbrathen for discussing the best way to remedy it, design wise.
The text was updated successfully, but these errors were encountered: