(updated)
| 1055 | }; |
| 1056 | |
| 1057 | const updateCells = (updated) => { |
| 1058 | setWidgetValue(updated); |
| 1059 | props.setCurrWidgetsDetails?.((prev) => |
| 1060 | prev && prev.key === currWidgetsDetails?.key |
| 1061 | ? { ...prev, options: { ...prev.options, response: updated } } |
| 1062 | : prev |
| 1063 | ); |
| 1064 | onChangeInput( |
| 1065 | updated, |
| 1066 | currWidgetsDetails, |
| 1067 | xyPosition, |
| 1068 | props.index, |
| 1069 | setXyPosition, |
| 1070 | uniqueId |
| 1071 | ); |
| 1072 | }; |
| 1073 | const handleCellsInput = (e) => { |
| 1074 | const value = e.target.value; |
| 1075 | setIsShowValidation(false); |
no test coverage detected