Hi,
I am testing the 10d build for the latest calendar changes. The performance is much better than the 9.1d calendar, great to see that.
One thing I noticed however with the 10d build of today is that the comboboxitem/picklist stops filtering/updating the picklist after the first character I type. So the first character I type opens the picklist and filters it, subsequent characters I type do not result in subsequent refreshes of the picklist. The textbox shows the value I enter.
After some debugging it seems that it has something to do with the suppresssave variable in the _updateValue function. It is set to true after the first filters, it seems:
In my case addUnknownValues = true and forceSave is false. The _updateValue is called from formItem.updateValue.
When I force suppressSave to false the filtering works correct.
I am using client side datasources.
gr. Martin
I am testing the 10d build for the latest calendar changes. The performance is much better than the 9.1d calendar, great to see that.
One thing I noticed however with the 10d build of today is that the comboboxitem/picklist stops filtering/updating the picklist after the first character I type. So the first character I type opens the picklist and filters it, subsequent characters I type do not result in subsequent refreshes of the picklist. The textbox shows the value I enter.
After some debugging it seems that it has something to do with the suppresssave variable in the _updateValue function. It is set to true after the first filters, it seems:
Code:
_updateValue : function (value, forceSave) { var suppressSave = (!forceSave && !this._valuePicked && (this.addUnknownValues == false || // if addUnknownValues is true, we don't want clicking on a pickList // item to fire the changed() event (because clicking on a pickList // first blurs the data element, causing _updateValue() to be called). this._isPickListVisible()));
When I force suppressSave to false the filtering works correct.
I am using client side datasources.
gr. Martin
Comment