"selected.item.value.shareWith" is the same as "shareWith", "shareWith" comes from the same variable (see https://github.com/frisco82/core/blob/8ac518bb3e0cf51bdf6c3dcf2554cc72c2f398c9/core/js/share.js#L260)

Does this change mean that we no longer show the display name but the user id in case of a user share? Why is this change needed at all? If I just copy your changes below to my installation everything works as described in your pull request already.