Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pgadmin-org/pgadmin4
/ onKeyDown
Function
onKeyDown
web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx:40–45 ·
view source on GitHub ↗
(e)
Source
from the content-addressed store, hash-verified
38
};
39
40
const onKeyDown = (e) => {
41
// If enter key is pressed then click on OK button
42
if (e.key ===
'Enter'
) {
43
okBtnRef.current?.click();
44
}
45
};
46
47
48
useLayoutEffect(()=>{
Callers
1
ConnectServerContent
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected