We’ve been discussing internally how to fix this issue.
It’s been causing a small UX dilemma.
In order to stop displaying the current gibberish “<client@model:forest…>”, we have two possibilities:
Remove the “Text” display widget for BelongsTo relations, and only allow links
Update the “Text” display widget so that it displays the model reference field when used in a relationship context (like the example you provided)
To settle the discussion, could you tell us more about your use-case?
When you initially choose the Text widget, was it because you intentionally wanted users NOT to be able to navigate to this relation?
Are you aware that the link can be disabled by using the “Project Settings > Roles > Read (details)”. Would that suite your use-case, or do you need to control it by Team?
I think removing the “Text” display widget for BelongTo relations is not the way to go, why would you give your users less options ? So I think it would be better to update it: who want to see an ID when showing a relationship ? that sounds weird.
To answer the second question:
It’s not that I strictly dont want my users to navigate to the relationship, it’s just that it’s not needed, and creates additional navigation possibilities that I don’t want to offer. Also, the hyperlink doesn’t look very nice on the UI.
I am not aware that the link can be disabled, but it seems that by disabling the read permissions, users wouldn’t be able to read that collection by reaching it from ta more traditional route (like by clicking on it in the left menu for example).
I’m with you on not feature bloating the app, but this was a natural inclination to just display a text (it is available on the UI as it is).
Maybe this is a naive suggestion, but the difference between a link and a text is a wrapping a tag with a child text, can’t you just remove the wrapper a tag when text is selected ?
Hope I find you well.
As you can probably see the issue is not fixed yet in production, but still progress has happened!
As far as I can see on the issue tracker, a pull request solving the issue was authored yesterday, and is awaiting to be reviewed by another developer.
You can expect the patch to be released tomorrow or the day after that.