8.15.15 - dropdown show the temp ID for a new record

After the upgrade, a picklist field now has the temp record ID like 3 in the dropdown. We are using javascript to dynamically populate the picklist values. Which areas would cause this issue? Can you point us in the right direction?

I verified that the JS code is only adding the picklist once. Skuid is adding the temp record ID to the picklist automatically. Is this a known issue?

When there should only be one picklist value:

console.log('picklist ' + field.metadata.picklistEntries.length);   // this prints out 1 correctly

field.element.empty();

skuid.ui.fieldRenderers.PICKLIST[field.mode]( field, selectedCodeId );


When there should only be 0 picklist value:

console.log('picklist ' + field.metadata.picklistEntries.length);   // this prints out 0 correctly

field.element.empty();

skuid.ui.fieldRenderers.PICKLIST[field.mode]( field, selectedCodeId );


So the issue appears from the skuid.ui.fieldRenderers.PICKLIST, which always adds the extra temp record Id!



This is now fixed by checking if the picklist value being added is available in the meta data. Thanks.