diff --git a/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholder.js b/microfrontends/SignDocuments/src/Component/WidgetComponent/placeholder.js index 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) { }} > )} - - { - 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" - }} - > + {props.pos.type !== "label" && ( + { + 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" + }} + > + )} )} {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.js index 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: