Hi Isomorphic,
We are struggling with the fetch missing display value behaviour for a ComboBoxItem using an option DataSource (autoFetchData=false).
For example, if we view record1 in the Form, the ComboBoxItem fetches the missing display value. If we click the ComboBoxItem drop-down, a fetch for the options is made (autoFetchData=false). If we then view record2 in the Form (i.e. editRecord(record2)), the ComboBoxItem will not fetch the missing display value (value different from record1), even with (alwaysFetchMissingValues=true). We suspect that maybe the pick list believes it has all the data and therefore, assumes there is no need to fetch the missing display values any more. If we do not click the drop-down to fetch/populate the options, the ComboBoxItem continues to fetch missing display values.
In our use case, there is no guarantee the drop-down options (fetched and populated only when the user clicks the drop-down) will include the display value for the current value, however, the fetch for a display value of a specific value is guaranteed to return the display value if one exists. If the ComboBoxItem cannot find a display value for the current value, we want to it always make a fetch for the missing display value regardless.
Can you please suggest a way we might force the ComboBoxItem to always make the fetch for a missing display value? We thought (alwaysFetchMissingValues=true) would solve it, but it did not.
Thanks
We are struggling with the fetch missing display value behaviour for a ComboBoxItem using an option DataSource (autoFetchData=false).
For example, if we view record1 in the Form, the ComboBoxItem fetches the missing display value. If we click the ComboBoxItem drop-down, a fetch for the options is made (autoFetchData=false). If we then view record2 in the Form (i.e. editRecord(record2)), the ComboBoxItem will not fetch the missing display value (value different from record1), even with (alwaysFetchMissingValues=true). We suspect that maybe the pick list believes it has all the data and therefore, assumes there is no need to fetch the missing display values any more. If we do not click the drop-down to fetch/populate the options, the ComboBoxItem continues to fetch missing display values.
In our use case, there is no guarantee the drop-down options (fetched and populated only when the user clicks the drop-down) will include the display value for the current value, however, the fetch for a display value of a specific value is guaranteed to return the display value if one exists. If the ComboBoxItem cannot find a display value for the current value, we want to it always make a fetch for the missing display value regardless.
Can you please suggest a way we might force the ComboBoxItem to always make the fetch for a missing display value? We thought (alwaysFetchMissingValues=true) would solve it, but it did not.
Thanks
Comment