Relation selection field is showing IDs instead of names

For Strapi 5.22.0 I saw the same issue.

Fix is the same as what someone earlier mentioned.

1 - Go to Content-Type Builder
2 - Go to the content type that has the relation field in question
3 - Go to “Configure the View”
4 - Hit the pencil icon on the relation field in question
5 - In the modal, change the value in the dropdown labeled “Entry title”