From e57faf2e637e5ec356994c46e10c193c4b691b2a Mon Sep 17 00:00:00 2001 From: Jared Snider Date: Thu, 8 Dec 2022 16:34:44 -0500 Subject: [PATCH] Form-button - Added useful note regarding use of the bitFormButton directive and how it requires the use of the bitButton directive as well. --- libs/components/src/async-actions/form-button.directive.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libs/components/src/async-actions/form-button.directive.ts b/libs/components/src/async-actions/form-button.directive.ts index 20ca289f7bc..b1701f2a919 100644 --- a/libs/components/src/async-actions/form-button.directive.ts +++ b/libs/components/src/async-actions/form-button.directive.ts @@ -16,6 +16,8 @@ import { BitActionDirective } from "."; * * When attached to a standalone button with `bitAction` directive: * - Disables the form while the `bitAction` directive is processing an async submit action. + * + * Note: you must use the bitButton directive along with this one in order to avoid provider errors. */ @Directive({ selector: "button[bitFormButton]",