kopia lustrzana https://github.com/miklobit/TiddlyWiki5
always set emptyValue, not just for filter
rodzic
c2105de49c
commit
ea8a8f1b53
|
@ -61,6 +61,8 @@ SetWidget.prototype.getValue = function() {
|
||||||
if(results.length === 0 && this.setEmptyValue !== undefined) {
|
if(results.length === 0 && this.setEmptyValue !== undefined) {
|
||||||
value = this.setEmptyValue;
|
value = this.setEmptyValue;
|
||||||
}
|
}
|
||||||
|
} else if(!value && this.setEmptyValue) {
|
||||||
|
value = this.setEmptyValue;
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
};
|
};
|
||||||
|
|
Ładowanie…
Reference in New Issue