diff --git a/forms-flow-web/src/components/Form/EditForm/FormSettings.js b/forms-flow-web/src/components/Form/EditForm/FormSettings.js
index f88472655..7afa15928 100644
--- a/forms-flow-web/src/components/Form/EditForm/FormSettings.js
+++ b/forms-flow-web/src/components/Form/EditForm/FormSettings.js
@@ -8,7 +8,7 @@ import React, {
import { Form, FormControl, InputGroup } from "react-bootstrap";
import {
CopyIcon,
- InfoIcon,
+ CustomInfo,
CustomRadioButton,
FormInput,
FormTextArea,
@@ -220,17 +220,8 @@ const FormSettings = forwardRef((props, ref) => {
maxRows={3}
minRows={3}
/>
-
-
-
- {t(
- "Allowing the addition of multiple pages in a single form will prevent you from using this form in a bundle later."
- )}
-
-
+
{
{t("Link for this form")}
-
-
-
- {t(
- "Making changes to your form URL will make your form inaccessible from your current URL."
- )}
-
-
+
{t("URL Path")}
diff --git a/forms-flow-web/src/components/Form/List.js b/forms-flow-web/src/components/Form/List.js
index 97690d088..d7b8b71f1 100644
--- a/forms-flow-web/src/components/Form/List.js
+++ b/forms-flow-web/src/components/Form/List.js
@@ -50,6 +50,7 @@ const List = React.memo((props) => {
const [importFormModal, setImportFormModal] = useState(false);
const [importError, setImportError] = useState("");
const [importLoader, setImportLoader] = useState(false);
+ const [wizardChecked,setWizardChecked] = useState(false);
const ActionType = {
BUILD: "BUILD",
IMPORT: "IMPORT"
@@ -292,6 +293,16 @@ const List = React.memo((props) => {
setFormSubmitted(false);
});
};
+ console.log(form,"form");
+
+ const onChangeCheckBox = () => {
+ const newWizardChecked = !wizardChecked;
+ setWizardChecked(newWizardChecked);
+ setForm(prevForm => ({
+ ...prevForm,
+ display: newWizardChecked ? "wizard" : "form"
+ }));
+ };
return (
<>
@@ -307,7 +318,6 @@ const List = React.memo((props) => {
<>
-
{
setNameError={setNameError}
nameValidationOnBlur={validateFormNameOnBlur}
nameError={nameError}
+ buildForm={true}
+ checked = {wizardChecked}
+ setChecked={onChangeCheckBox}
/>
{
const handleAction = (actionType)=>{
@@ -20,9 +19,15 @@ const ActionModal = React.memo(({ newActionModal, onClose, CategoryType, onActio
-
+
+ {published &&
+ }
{CategoryType === "FORM" && (
-
+
{importError}}
{importError && importError.includes("already exists") &&
-
-
-
- {(t) => t("Note")}
-
-
-
- {(t) => t(`If you want to replace an existing form,
+
+ }
{importError && !importError.includes("already exists")
&&
{(t) =>
@@ -137,17 +128,9 @@ const ImportModal = React.memo(({ importFormModal, onClose, formSubmitted,
item?.majorVersion != null || item?.minorVersion != null) && (
{/* First Row */}
-
-
-
-
-
- {(t) => t("Import will create a new version.")}
-
-
-
-
+
+
Type
Import
diff --git a/forms-flow-web/src/components/Modeler/DecisionTable.js b/forms-flow-web/src/components/Modeler/DecisionTable.js
index 9b82a0a09..cd3ed3611 100644
--- a/forms-flow-web/src/components/Modeler/DecisionTable.js
+++ b/forms-flow-web/src/components/Modeler/DecisionTable.js
@@ -32,7 +32,12 @@ const DecisionTable = React.memo(() => {
const [searchDmnLoading, setSearchDmnLoading] = useState(false);
const redirectUrl = MULTITENANCY_ENABLED ? `/tenant/${tenantKey}/` : "/";
const [search, setSearch] = useState(searchText || "");
-
+
+ useEffect(() => {
+ if (!search?.trim()) {
+ dispatch(setDmnSearchText(""));
+ }
+ }, [search]);
useEffect(() => {
setIsLoading(true);
dispatch(
diff --git a/forms-flow-web/src/components/Modeler/SubFlowTable.js b/forms-flow-web/src/components/Modeler/SubFlowTable.js
index 843d3f071..63316b0f7 100644
--- a/forms-flow-web/src/components/Modeler/SubFlowTable.js
+++ b/forms-flow-web/src/components/Modeler/SubFlowTable.js
@@ -34,6 +34,12 @@ const SubFlow = React.memo(() => {
modified: { sortOrder: "asc" },
status: { sortOrder: "asc" },
});
+
+ useEffect(() => {
+ if (!search?.trim()) {
+ dispatch(setBpmnSearchText(""));
+ }
+ }, [search]);
useEffect(() => {
setIsLoading(true);
dispatch(
diff --git a/forms-flow-web/src/components/Modeler/index.js b/forms-flow-web/src/components/Modeler/index.js
index 5bf7dc6a3..3998eac2d 100644
--- a/forms-flow-web/src/components/Modeler/index.js
+++ b/forms-flow-web/src/components/Modeler/index.js
@@ -41,7 +41,7 @@ const Processes = () => {
-
+
{
)}
{ENABLE_PROCESSES_MODULE && (
)}