1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 08:13:42 +00:00

Form-button - Added useful note regarding use of the bitFormButton directive and how it requires the use of the bitButton directive as well.

This commit is contained in:
Jared Snider
2022-12-08 16:34:44 -05:00
parent 98917ce06d
commit e57faf2e63

View File

@@ -16,6 +16,8 @@ import { BitActionDirective } from ".";
* *
* When attached to a standalone button with `bitAction` directive: * When attached to a standalone button with `bitAction` directive:
* - Disables the form while the `bitAction` directive is processing an async submit action. * - 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({ @Directive({
selector: "button[bitFormButton]", selector: "button[bitFormButton]",