console log tidying

This commit is contained in:
2024-06-05 19:51:43 +01:00
parent 2a6cd32452
commit 300a45ee0f
19 changed files with 35 additions and 35 deletions
+2 -2
View File
@@ -291,7 +291,7 @@ function Radiofield(props) {
const router = useRouter();
const required = (value) => (value ? undefined : "Required");
// console.log(props.options);
//console.log(props.options);
const fieldOptions = props.options
.slice(1, props.options.length - 1)
@@ -310,7 +310,7 @@ function Radiofield(props) {
(showIfHasParentShowValue == parentField) != false &&
showIfHasParentShowValue;
// console.log(
//console.log(
// datafieldname,
// showIfHasParentShowValue,
// formProps[form].values[parentField]
+1 -1
View File
@@ -107,7 +107,7 @@ let BuildCheckRow = (props) => {
// });
// }
// console.log(
//console.log(
// datafieldname[0].value.indexOf("fileUpload") > 0,
// isRequiredField,
// props.props.form["appealForm"].values[
+1 -1
View File
@@ -24,7 +24,7 @@ const BuildProgress = (props) => {
} = props;
const parser = new DOMParser();
// const progObj = getProgressObj(
//const progObj = getProgressObj(
// formObjXML,
// titleList,
// mandatoryFieldsData,
+2 -2
View File
@@ -104,7 +104,7 @@ export default function BuildRow(props) {
dateEnd = !_.isEmpty(dateEnd) && dateEnd[0].value;
// const isRequiredField = jsonpath(
//const isRequiredField = jsonpath(
// "$..value[?(@.LogicalName=='" +
// datafieldname[0].value +
// "')]",
@@ -129,7 +129,7 @@ export default function BuildRow(props) {
/>
);
} else {
// console.log(
//console.log(
// datafieldname[0].value,
// isRequiredField[0].RequiredLevel.Value
// );
+1 -1
View File
@@ -102,7 +102,7 @@ let CompleteAppeal = (props) => {
setCurrentSection(currentSection + 1);
};
// console.log(JSON.stringify(props.props.form.appealForm.values, null, 2));
//console.log(JSON.stringify(props.props.form.appealForm.values, null, 2));
//alert(JSON.stringify(props.props.form.appealForm.values, null, 2));
return (
+3 -3
View File
@@ -292,7 +292,7 @@ function Radiofield(props) {
let { t } = useTranslation();
const router = useRouter();
const required = (value) => (value ? undefined : "Required");
// console.log(props.options);
//console.log(props.options);
const fieldOptions = props.options
.slice(1, props.options.length - 1)
@@ -311,7 +311,7 @@ function Radiofield(props) {
(showIfHasParentShowValue == parentField) != false &&
showIfHasParentShowValue;
// console.log(
//console.log(
// datafieldname,
// showIfHasParentShowValue,
// formProps[form].values[parentField]
@@ -417,7 +417,7 @@ let CreateCase = (props) => {
appTypeCollection = getFormCollectionByID(whichAppealType);
// console.log(
//console.log(
// "/newappeal" +
// "/" +
// appTypeCollection.UrlName +
+1 -1
View File
@@ -6,7 +6,7 @@
// import { JSONPath as jsonpath } from "jsonpath-plus";
// import _ from "lodash";
// const FileUpload = () => {
//const FileUpload = () => {
// const { acceptedFiles, getRootProps, getInputProps } = useDropzone();
// const files = acceptedFiles.map((file) => (
// <li key={file.path}>