Enter key handling for dialogs.

This commit is contained in:
Robin Davies
2024-10-08 04:20:37 -04:00
parent ebe56f4df9
commit a8061a6d15
31 changed files with 131 additions and 49 deletions
+3 -1
View File
@@ -64,7 +64,9 @@ function SelectThemesDialog(props: SelectThemesDialogProps) {
return (
<DialogEx tag="theme" onClose={handleClose} open={open}>
<DialogEx tag="theme" onClose={handleClose} open={open}
onEnterKey={handleOk}
>
<DialogTitle id="simple-dialog-title">Theme</DialogTitle>
<DialogContent>
<FormControl>