rez-table-listing-mui 1.3.25 → 1.3.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -921,17 +921,14 @@ const FilterForm = ({
|
|
|
921
921
|
);
|
|
922
922
|
}
|
|
923
923
|
|
|
924
|
-
//
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
930
|
-
control={control}
|
|
931
|
-
onValueChange={updateFiltersFromForm}
|
|
932
|
-
/>
|
|
924
|
+
// DATE LOGIC
|
|
925
|
+
|
|
926
|
+
if (showTextInsteadOfDate) {
|
|
927
|
+
console.log(
|
|
928
|
+
"Inside showtext",
|
|
929
|
+
showTextInsteadOfDate
|
|
933
930
|
);
|
|
934
|
-
|
|
931
|
+
|
|
935
932
|
return (
|
|
936
933
|
<FormTextfield
|
|
937
934
|
filter={filter}
|
|
@@ -940,6 +937,25 @@ const FilterForm = ({
|
|
|
940
937
|
/>
|
|
941
938
|
);
|
|
942
939
|
}
|
|
940
|
+
// if (showDatePicker) {
|
|
941
|
+
// console.log("Inside Date", showDatePicker);
|
|
942
|
+
// return (
|
|
943
|
+
// <FormDatePicker
|
|
944
|
+
// filter={filter}
|
|
945
|
+
// control={control}
|
|
946
|
+
// onValueChange={updateFiltersFromForm}
|
|
947
|
+
// />
|
|
948
|
+
// );
|
|
949
|
+
// } else {
|
|
950
|
+
// console.log("Inside Text", FormTextfield);
|
|
951
|
+
// return (
|
|
952
|
+
// <FormTextfield
|
|
953
|
+
// filter={filter}
|
|
954
|
+
// control={control}
|
|
955
|
+
// onValueChange={updateFiltersFromForm}
|
|
956
|
+
// />
|
|
957
|
+
// );
|
|
958
|
+
// }
|
|
943
959
|
|
|
944
960
|
// if (showTextInsteadOfDate) {
|
|
945
961
|
// console.log(
|