MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / onTextChange

Function onTextChange

web/pgadmin/static/js/Dialogs/ConnectServerContent.jsx:32–38  ·  view source on GitHub ↗
(e, id)

Source from the content-addressed store, hash-verified

30 });
31
32 const onTextChange = (e, id) => {
33 let val = e;
34 if(e?.target) {
35 val = e.target.value;
36 }
37 setFormData((prev)=>({...prev, [id]: val}));
38 };
39
40 const onKeyDown = (e) => {
41 // If enter key is pressed then click on OK button

Callers 1

ConnectServerContentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected