From c84bdbf1f6c23fc0253895bf543e4cdb3b33ffb2 Mon Sep 17 00:00:00 2001 From: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com> Date: Mon, 4 Oct 2021 11:53:24 -0600 Subject: [PATCH] Auth method role edit form should be valid by default (#12646) * isFormInvalid should be false by default and update on keyup * Add changelog --- changelog/12646.txt | 3 +++ ui/app/components/generated-item.js | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100644 changelog/12646.txt diff --git a/changelog/12646.txt b/changelog/12646.txt new file mode 100644 index 000000000..e4f9385f7 --- /dev/null +++ b/changelog/12646.txt @@ -0,0 +1,3 @@ +```release-note:bug +ui: Fix bug where edit role form on auth method is invalid by default +``` \ No newline at end of file diff --git a/ui/app/components/generated-item.js b/ui/app/components/generated-item.js index c237d0e18..4152e7f09 100644 --- a/ui/app/components/generated-item.js +++ b/ui/app/components/generated-item.js @@ -25,7 +25,7 @@ export default Component.extend({ flashMessages: service(), router: service(), validationMessages: null, - isFormInvalid: true, + isFormInvalid: false, props: computed('model', function() { return this.model.serialize(); }),