MCPcopy Create free account
hub / github.com/OpenSignLabs/OpenSign / updateCells

Function updateCells

apps/OpenSign/src/components/pdf/WidgetsValueModal.jsx:1057–1072  ·  view source on GitHub ↗
(updated)

Source from the content-addressed store, hash-verified

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);

Callers 1

handleCellsInputFunction · 0.85

Calls 1

onChangeInputFunction · 0.90

Tested by

no test coverage detected