diff --git a/package-lock.json b/package-lock.json index b75287e8..eb599f7c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -6,7 +6,7 @@ "packages": { "": { "name": "react-invenio-forms", - "version": "4.4.0", + "version": "4.5.0", "license": "MIT", "devDependencies": { "@babel/cli": "^7.5.0", diff --git a/src/lib/elements/contrib/invenioRDM/records/AffiliationsSuggestions.js b/src/lib/elements/contrib/invenioRDM/records/AffiliationsSuggestions.js index 560252fa..3a230812 100644 --- a/src/lib/elements/contrib/invenioRDM/records/AffiliationsSuggestions.js +++ b/src/lib/elements/contrib/invenioRDM/records/AffiliationsSuggestions.js @@ -90,14 +90,14 @@ export const AffiliationsSuggestions = (creatibutors, isOrganization) => { return { text: creatibutor.name, - value: creatibutor.id || creatibutor.name, - name: creatibutor.id || creatibutor.name, + value: creatibutor.name, extra: creatibutor, - key: creatibutor.id, id: creatibutor.id, + key: creatibutor.id, // Needed by RemoteSelectField to filter out unique values content: (