1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00:00

[CL-243] honor initial disabled state in bitFormButton (#9510)

* honor initial disabled state

* update story
This commit is contained in:
Will Martin
2024-06-05 11:39:40 -04:00
committed by GitHub
parent 1cfbcf4ee0
commit 419c107f87
2 changed files with 3 additions and 2 deletions

View File

@@ -33,6 +33,7 @@ const template = `
<button class="tw-mr-2" type="submit" buttonType="primary" bitButton bitFormButton>Submit</button>
<button class="tw-mr-2" type="button" buttonType="secondary" bitButton bitFormButton>Cancel</button>
<button class="tw-mr-2" type="button" buttonType="danger" bitButton bitFormButton [bitAction]="delete">Delete</button>
<button class="tw-mr-2" type="button" buttonType="secondary" bitButton bitFormButton [disabled]="true">Disabled</button>
<button class="tw-mr-2" type="button" buttonType="secondary" bitIconButton="bwi-star" bitFormButton [bitAction]="delete">Delete</button>
</form>`;