Skip to content
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

Give visible error when setting component name to an already used name #917

Open
Kezii opened this issue Apr 10, 2019 · 1 comment
Open

Comments

@Kezii
Copy link

Kezii commented Apr 10, 2019

When you change a component name to an already used name, if you press enter, the "Edit Component Properties" window closes without giving any notice and without changing the name of the component.
If you press apply, the name reverts to the last one, without giving any notice or context.

Instead, a notification / popup box should be sent after a wrong submission, or, an interactive check should be implemented, for example changing the color of the text box to red if the name is invalid, explaining what the problem is.

@felix-salfelder
Copy link
Member

I like the color idea. We'd need a patch still.

Notice or context. We have a status bar for a notice, we could set the cursor back to the name for context...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants