Using version: v110p_2016_08_04
The problem:
when I have a dsField with filterEditorProperties:{defaultValue:null} and editorProperties:{defaultValue:1} the resulting filterEditor (in a ListGrid) will show an editor with defaultValue 1.
Possible solution:
Take a look ISC_Databinding.js@30500. It checks whether the localField value for the datasource property is null, and if so, overwrite the value with the ds version. I think this is wrong, you should only overwrite a property if it is not available in the localfield.
Replace: if (localField[propertyName] != null) continue;
With: if(isc.propertyDefined(localField,propertyName)) continue;
The problem:
when I have a dsField with filterEditorProperties:{defaultValue:null} and editorProperties:{defaultValue:1} the resulting filterEditor (in a ListGrid) will show an editor with defaultValue 1.
Possible solution:
Take a look ISC_Databinding.js@30500. It checks whether the localField value for the datasource property is null, and if so, overwrite the value with the ds version. I think this is wrong, you should only overwrite a property if it is not available in the localfield.
Replace: if (localField[propertyName] != null) continue;
With: if(isc.propertyDefined(localField,propertyName)) continue;
Comment