Skip to content

Commit bb2acac

Browse files
committed
fix(ajsf/core): layout functions: buildTitleMap: use empty string to conform HTML behaviour
use empty string instead of null for non required empty values to conform HTML behaviour Fixes hamzahamidi#333
1 parent 587dbed commit bb2acac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/ajsf-core/src/lib/shared/layout.functions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ export function buildTitleMap(
10621062
}
10631063
}
10641064
if (!fieldRequired && !hasEmptyValue) {
1065-
newTitleMap.unshift({ name: '<em>None</em>', value: null });
1065+
newTitleMap.unshift({ name: '<em>None</em>', value: '' });
10661066
}
10671067
return newTitleMap;
10681068
}

0 commit comments

Comments
 (0)