feat: label widget for prefill data

This commit is contained in:
RaktimaNXG
2024-02-12 17:36:23 +05:30
parent c0ae0c7ffa
commit f86ea04a02
7 changed files with 264 additions and 142 deletions
@@ -2,7 +2,7 @@ import React, { useState, useEffect } from "react";
import BorderResize from "../component/borderResize";
import PlaceholderBorder from "./placeholderBorder";
import { Rnd } from "react-rnd";
import { defaultWidthHeight, isMobile, onChangeInput } from "../../utils/Utils";
import { defaultWidthHeight, isMobile } from "../../utils/Utils";
import PlaceholderType from "./placeholderType";
import moment from "moment";
import "../LegaDrive/LegaDrive.css";
@@ -486,7 +486,7 @@ function Placeholder(props) {
}
onDragStop={(event, dragElement) =>
props.handleStop &&
props.handleStop(event, dragElement, props.signerObjId, props.pos.key)
props.handleStop(event, dragElement, props.data.Id, props.pos.key)
}
default={{
x: props.xPos(props.pos, props.isSignYourself),