We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3eea2cb commit ec4e4c7Copy full SHA for ec4e4c7
widgets/Report.js
@@ -564,7 +564,7 @@ define([
564
if (field.fieldName && this.feature && this.feature.attributes) {
565
value = this.feature.attributes[field.fieldName];
566
}
567
- if (!value || value.toLowerCase() === 'null') {
+ if (!value || (typeof(value) === 'string' && value.toLowerCase() === 'null')) {
568
value = '';
569
570
if (typeof(value) === 'string') {
0 commit comments