Commit b41f295
authored
Confirm dialog yes button auto focus (#1260)
* #940: Add auto-focus option for Yes button in ConfirmDialog
Updated ConfirmDialog to pass shouldAutoFocusYesButton to the JS show function, enabling automatic focus on the "Yes" button when the dialog appears.
* Use dialog options for auto-focus in ConfirmDialog
Replaced shouldAutoFocusYesButton with confirmDialogOptions.AutoFocusYesButton when showing the confirm dialog, ensuring auto-focus behavior is controlled by dialog options.1 parent 90f5e18 commit b41f295
File tree
1 file changed
+1
-1
lines changed- blazorbootstrap/Components/ConfirmDialog
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
125 | | - | |
| 125 | + | |
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| |||
0 commit comments