-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 ConfirmDeleteDialog: always clear name input value on action (#1479)
`ConfirmDeleteDialog` requires the user to enter the item's name before the delete button is enabled. The user entered text was being cleared on Cancel and Close, but not on Confirm. Action handlers now clear the user entered text on ALL actions. Resolves: #1478 Signed-off-by: Scott J Dickerson <[email protected]> Co-authored-by: Ian Bolton <[email protected]>
- Loading branch information
1 parent
9096dcd
commit 12d8166
Showing
2 changed files
with
10 additions
and
7 deletions.
There are no files selected for viewing
5 changes: 0 additions & 5 deletions
5
client/src/app/components/ConfirmDeleteDialog/ConfirmDeleteDialog.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,3 @@ | ||
.confirm-deletion { | ||
margin-top: var(--pf-v5-global--spacer--xl); | ||
} | ||
|
||
.confirm-deletion-input { | ||
margin-top: var(--pf-v5-global--spacer--sm); | ||
margin-bottom: var(--pf-v5-global--spacer--sm); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters