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

Only cloned controls should be deletable #471

Open
Amndeep7 opened this issue Sep 9, 2022 · 1 comment
Open

Only cloned controls should be deletable #471

Amndeep7 opened this issue Sep 9, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@Amndeep7
Copy link
Contributor

Amndeep7 commented Sep 9, 2022

Disable or remove the "delete" button for controls that came when you imported an SRG. You should only be able to delete a control that is cloned.

Question to @rlakey - do you only want this to apply to controls that were cloned or should the actual behavior be that you can delete however many controls you want that share the same id until there's only one left (e.x. if you have the original control and a clone, it should be possible to delete the original one but then you can no longer delete the clone)?

@Amndeep7 Amndeep7 added the bug Something isn't working label Sep 9, 2022
@rlakey
Copy link
Contributor

rlakey commented Sep 9, 2022

It's only on controls that have been cloned/added. The original set of controls should not be able to be deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Todo
Development

No branches or pull requests

2 participants