I can't have virtual docfiled having Link Type

I have two doctypes - Doctype A and Doctype B

There is one to one relationship between them so doctype A has a Link field for Doctype B. So in A I can show what is B for it.

But In B also I want to show A. Since the link data is already there in A, I am fetching from the database and want to put in a virtual field in B. But it seems if it is a virtual field, I can’t put link in it like this. When I change the type to Data, it is working perfectly. But as soon as I cam changing it to Link, I am having some issues.

Anyone update on this?