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
+1
View File
@@ -63,6 +63,7 @@ export default class OkCancelDialog extends React.Component<OkCancelDialogProps,
}
return (
<DialogEx tag="okCancel" open={open} onClose={handleClose}
onEnterKey={handleOk}
style={{userSelect: "none"}}
>
<DialogContent>