From 2c8b314475985df44e0c6ebf8a8c5b651911be65 Mon Sep 17 00:00:00 2001 From: Chelsea Shaw <82459713+hashishaw@users.noreply.github.com> Date: Mon, 4 Oct 2021 17:22:57 -0600 Subject: [PATCH] Auth method role edit form should be valid by default (#12646) (#12732) * 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 000000000000..e4f9385f7f44 --- /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 c237d0e18a5f..4152e7f093a7 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(); }),