How do I remove the "null" from being selectable in a list of unique values for eSearch Widget 2.9.01
Solved! Go to Solution.
Rich,
In 2.9 and greater if null a null value exists in your data then it will be added as a unique option in the dropdown. To change this behavior you will have to comment out these lines in the PagingQueryTask.js
if(this.nullsExist){
retVal.unshift({code: 'null', name:'null'});
}
Rich,
In 2.9 and greater if null a null value exists in your data then it will be added as a unique option in the dropdown. To change this behavior you will have to comment out these lines in the PagingQueryTask.js
if(this.nullsExist){
retVal.unshift({code: 'null', name:'null'});
}