I am having some problems with my databound MultiComboBoxItem.
I was trying to stop it from fetching missing values by setting:
but it still sends a fetchMissingValues request event though the first fetch contains all the values.
Then I noticed that the optionCriteria that i set (scrumTask & projectId) was only added to the criteria in the fetchMissingValues request, and not the initial auto fetch.
Am I misunderstanding something or is the optionCriteria not supposed to go on both types of fetch, and how do I stop it from fetching missing values?
fetchMissingValues DS Request example:
Auto fetch DS Request example:
I was trying to stop it from fetching missing values by setting:
Code:
multiComboBoxItem.setAutoFetchData(true); multiComboBoxItem.setFetchMissingValues(false);
Then I noticed that the optionCriteria that i set (scrumTask & projectId) was only added to the criteria in the fetchMissingValues request, and not the initial auto fetch.
Am I misunderstanding something or is the optionCriteria not supposed to go on both types of fetch, and how do I stop it from fetching missing values?
fetchMissingValues DS Request example:
Code:
{ dataSource:"tags_globalTags", operationType:"fetch", componentId:"isc_DynamicForm_6", data:{ scrumTask:1, projectId:703, companyTagId:[ 64, 1381, 116, 117, 33, 35, 54, 34, 32, 36, 146, 94 ] }, textMatchStyle:"exact", callback:{ target:[MultiComboBoxItem ID:isc_MultiComboBoxItem_2 name:tags], methodName:"fetchMissingValueReply" }, showPrompt:false, oldValues:{ scrumTask:1, projectId:703, companyTagId:[ 64, 1381, 116, 117, 33, 35, 54, 34, 32, 36, 146, 94 ] }, requestId:"tags_globalTags$62737", internalClientContext:{ newValue:{ "0":64, "1":1381, "2":116, "3":117, "4":33, "5":35, "6":54, "7":34, "8":32, "9":36, "10":146, "11":94, Class:"Array", localeStringFormatter:"toString" }, filterLocally:{ }, targetField:"companyTagId", fetchingMissingValues:{ } }, fallbackToEval:false, componentContext:"tags", lastClientEventThreadCode:"XRP6", bypassCache:true }
Code:
{ dataSource:"tags_globalTags", operationType:"fetch", componentId:"isc_PickListMenu_0", data:{ }, startRow:0, endRow:75, textMatchStyle:"startsWith", resultSet:[ResultSet ID:isc_ResultSet_2 (dataSource: tags_globalTags, created by: isc_PickListMenu_0)], callback:{ caller:[ResultSet ID:isc_ResultSet_2 (dataSource: tags_globalTags, created by: isc_PickListMenu_0)], methodName:"fetchRemoteDataReply" }, willHandleError:true, showPrompt:false, prompt:"Finding Records that match your criteria...", oldValues:{ }, requestId:"tags_globalTags$62723", internalClientContext:{ requestIndex:1 }, fallbackToEval:false, componentContext:"isc_MultiComboBoxItem_1_comboForm.cb", lastClientEventThreadCode:"XRP0", bypassCache:true }
Comment