infisical
infisical copied to clipboard
Duplicate Error on Original Key
Describe the bug
An error should only apply to the new entry. It doesn't make sense to have an error present on submitted keys as well.
To Reproduce
Steps to reproduce the behavior:
- Go to
/dashboard - Create a duplicate key
- See error is present on the new key and the original one
Expected behavior
The error should apply only to the new key, similar to the no-number-in-the-beginning behavior.
Screenshots

Platform you are having the issue on:
N/A. It's a frontend issue.
Additional Context:
I believe this is due to the way errors are mapped. It seems like it's checking every entry with the same key name, regardless of whether it's an old key or not.
I think you are right! When I created it, I just tried to find a quick solution, your way would be better! Thanks!
Closing as stale issue.