fix: template flow dropdown and radio issue, date setting icon ,expired document issue

This commit is contained in:
RaktimaNXG
2024-02-09 17:11:32 +05:30
parent 6a0788c2a1
commit c0ae0c7ffa
7 changed files with 482 additions and 176 deletions
@@ -207,6 +207,7 @@ function PlaceHolderSign() {
});
}
}, [divRef.current]);
//function for get document details
const getDocumentDetails = async () => {
//getting document details
@@ -364,8 +365,6 @@ function PlaceHolderSign() {
let dropData = [];
let placeHolder;
const dragTypeValue = item?.text ? item.text : monitor.type;
// const widgetWidth = defaultWidthHeight(dragTypeValue).width;
// const widgetHeight = defaultWidthHeight(dragTypeValue).height;
if (item === "onclick") {
const dropObj = {
@@ -498,6 +497,7 @@ function PlaceHolderSign() {
} else if (dragTypeValue === "radio") {
setIsRadio(true);
}
setCurrWidgetsDetails("");
setWidgetType(dragTypeValue);
setSignKey(key);
if (isMobile) {