diff --git a/ui/app/components/secret-edit.js b/ui/app/components/secret-edit.js index 4b0e684778a3..0c93414bc388 100644 --- a/ui/app/components/secret-edit.js +++ b/ui/app/components/secret-edit.js @@ -290,6 +290,7 @@ export default Component.extend(FocusOnInsertMixin, { if (noErrors) { try { this.secretData.fromJSONString(val); + set(this.modelForData, 'secretData', this.secretData.toJSON()); } catch (e) { this.set('error', e.message); }