tuain-ng-forms-lib 13.0.3 → 13.0.6
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/esm2020/lib/classes/forms/element.mjs +1 -1
- package/esm2020/lib/classes/forms/table/row-data.mjs +8 -2
- package/fesm2015/tuain-ng-forms-lib.mjs +7 -1
- package/fesm2015/tuain-ng-forms-lib.mjs.map +1 -1
- package/fesm2020/tuain-ng-forms-lib.mjs +7 -1
- package/fesm2020/tuain-ng-forms-lib.mjs.map +1 -1
- package/lib/classes/forms/element.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1006,7 +1006,13 @@ class TableRecordData {
|
|
|
1006
1006
|
if (columnDef && columnDef?.visible && this.recordData.hasOwnProperty(fieldCode)) {
|
|
1007
1007
|
for (const word of words) {
|
|
1008
1008
|
const term = word.toUpperCase();
|
|
1009
|
-
|
|
1009
|
+
let fieldValue;
|
|
1010
|
+
if (columnDef.fieldType.toUpper().includes('DATE')) {
|
|
1011
|
+
fieldValue = this.recordData[fieldCode].substring(0, 16);
|
|
1012
|
+
}
|
|
1013
|
+
else {
|
|
1014
|
+
fieldValue = this.recordData[fieldCode];
|
|
1015
|
+
}
|
|
1010
1016
|
if (fieldValue.toString().toUpperCase().includes(term)) {
|
|
1011
1017
|
return true;
|
|
1012
1018
|
}
|