(e, id)
| 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 |
no outgoing calls
no test coverage detected