PGBI/kong-dashboard

Key auto-generate doesn't work if something was previously typed in the field

Opened this issue · 0 comments

Issue summary

Page: Edit Consumer
Section: New KEY AUTH
Action: NEW
Issue:

Leave empty to have Kong auto-generate the key.

When editing a consumer to add key-auth, the auto-generate doesn't work if a user accidentally starts typing something in the key field and then removes it.

Environment

  • Kong version = 0.13.1
  • Kong Dashboard version = 3.3.0

Expected behavior

The auto-generate should still function even if the entry field is empty, regardless of whether a previous string was entered or not.

Screenshot

image