1.15 web-ui kv2 -- issue adding new lines to secret in json view #23940
Labels
bug
Used to indicate a potential bug
reproduced
This issue has been reproduced by a Vault engineer
secret/kv
ui
Describe the bug
When editing a secret via web interface in the kv2 engine, trying to add a new line to the secret in json view results in the cursor jumping to the first line of the file.
If you add a
,
or{
at the end of a line before trying to add a new line with the enter key, it works.I'm not sure if this is intended and supposed to be some kind of json validation while the secret is being edited, or if it's just a bug.
Either way, it makes it impossible to insert something from the clipboard.
The behavior in kv1 hasn't changed, so I assume it's related to 22559.
To Reproduce
Steps to reproduce the behavior:
Environment:
The text was updated successfully, but these errors were encountered: