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

Prevent from create 2 resources with the same id #123

Open
AlexisNeveu opened this issue Jul 23, 2024 · 0 comments
Open

Prevent from create 2 resources with the same id #123

AlexisNeveu opened this issue Jul 23, 2024 · 0 comments

Comments

@AlexisNeveu
Copy link

AlexisNeveu commented Jul 23, 2024

Description

When 2 components have the same type and same id then it makes only the first one able to move (when you click and drag on the second one it still moves the first one).

Potential fixing behavior:

  • When clicking on "Draw", if there are components with the same type and same id, enforce the value of the second one to [duplicated_id]_2
  • Raise an error and ask the user to modify the duplicated id before switching to the draw view
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant