Skip to content

Commit

Permalink
deposit-ui: fix creator affiliations selection display
Browse files Browse the repository at this point in the history
* Fixes a bug where the selected affiliations from the dropdown do not
  appear inside the input box.
  • Loading branch information
slint committed Nov 11, 2024
1 parent 84ca68e commit dbf6395
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class AffiliationsField extends Component {
);
}}
value={getIn(values, fieldPath, []).map(
(val) => val.id || val.text || val.name
(val) => val.name || val.text || val.id
)}
ref={selectRef}
// Disable UI-side filtering of search results
Expand Down

0 comments on commit dbf6395

Please sign in to comment.