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:
@@ -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]",
|
||||||
|
|||||||
Reference in New Issue
Block a user