From 5d53bccdbf45754dfe76fcf465c0dc453b5738f8 Mon Sep 17 00:00:00 2001 From: Angel Garbarino Date: Thu, 8 Apr 2021 13:46:40 -0600 Subject: [PATCH] Bug: DB secret engine not showing "Select one" in role select options (#11294) * fix issue on mongo db where the select one was not showing * add changelog --- changelog/11294.txt | 3 +++ ui/app/models/database/role.js | 1 + 2 files changed, 4 insertions(+) create mode 100644 changelog/11294.txt diff --git a/changelog/11294.txt b/changelog/11294.txt new file mode 100644 index 000000000..a176b4a7b --- /dev/null +++ b/changelog/11294.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: fix issue where select-one option was not showing in secrets database role creation +``` diff --git a/ui/app/models/database/role.js b/ui/app/models/database/role.js index 7ede3475f..0ecac0fc1 100644 --- a/ui/app/models/database/role.js +++ b/ui/app/models/database/role.js @@ -22,6 +22,7 @@ export default Model.extend({ }), type: attr('string', { label: 'Type of role', + noDefault: true, possibleValues: ['static', 'dynamic'], }), ttl: attr({