🔥 The free & Open Source DocuSign alternative
JavaScript digital-signaturedocument-signingdocusign-alternativedocusign-freee-signatureelectronic-signatureelectronic-signaturesesignesignaturehacktoberfestjavascriptlegaltechmongodbnodejsopen-sourcepdf-signpdf-signaturereactjsself-hostedsign-pdf-files
fix: remove user icon for label widget
RaktimaNXG60ba77a06fb2
diff --git a/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholder.js b/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholder.jsindex f584c7c8a..6874b4526 100644--- a/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholder.js+++ b/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholder.js@@ -237,32 +237,35 @@ function Placeholder(props) {}}></i>)}-- <i- data-tut="reactourLinkUser"- className="fa-regular fa-user signUserIcon"- onClick={(e) => {- e.stopPropagation();- props.handleLinkUser(props.data.Id);- props.setUniqueId(props.data.Id);- }}- onTouchEnd={(e) => {- e.stopPropagation();- props.handleLinkUser(props.data.Id);- props.setUniqueId(props.data.Id);- }}- style={{- color: "#188ae2",- right:- props.pos.type === "checkbox" || props.pos.type === "radio"- ? "8px"- : "32px",- top:- props.pos.type === "checkbox" || props.pos.type === "radio"- ? "-28px"- : "-18px"- }}- ></i>+ {props.pos.type !== "label" && (+ <i+ data-tut="reactourLinkUser"+ className="fa-regular fa-user signUserIcon"+ onClick={(e) => {+ e.stopPropagation();+ props.handleLinkUser(props.data.Id);+ props.setUniqueId(props.data.Id);+ }}+ onTouchEnd={(e) => {+ e.stopPropagation();+ props.handleLinkUser(props.data.Id);+ props.setUniqueId(props.data.Id);+ }}+ style={{+ color: "#188ae2",+ right:+ props.pos.type === "checkbox" ||+ props.pos.type === "radio"+ ? "8px"+ : "32px",+ top:+ props.pos.type === "checkbox" ||+ props.pos.type === "radio"+ ? "-28px"+ : "-18px"+ }}+ ></i>+ )}</>)}{props.pos.type === "date" && selectDate && (@@ -315,22 +318,6 @@ function Placeholder(props) {onClick={() => {setIsShowDateFormat(!isShowDateFormat);setSelectDate(data);-- // {- // props.isPlaceholder &&- // onChangeInput(- // data.date,- // props.pos.key,- // props.xyPostion,- // props.index,- // props.setXyPostion,- // props.data && props.data.signerObjId,- // false,- // selectDate?.format- // ? selectDate.format- // : "MM/dd/YYYY"- // );- // }}}className="dropdown-item itemColor"style={{ fontSize: "12px" }}diff --git a/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholderType.js b/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholderType.jsindex a2bac02af..1830eba27 100644--- a/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholderType.js+++ b/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholderType.js@@ -559,7 +559,12 @@ function PlaceholderType(props) {className="labelTextArea"name="story"cols="50"- style={{ zIndex: "99", height: "100%", width: "100%" }}+ style={{+ zIndex: "99",+ height: "100%",+ width: "100%",+ resize: "none"+ }}/>);default: