I can't get a block list to show the title of a multi url link. I've done this countless times before but there must be something simple i'm overlooking this time!
I've created a block named Submenu. This block contains a Multi url picker configured for single url. This url picker is named submenuItemLink.
Then in another block i've added a block list and added the Submenu block to this block list. Here i set the label to render as:
{{ submenuItemLink[0].name }}
But the title of the link doesn't show up and just returns blank!
I just discovered that it returns blank if i do not write anything in link title. It only renders the link title if i manually writes something!
This is not expected behavior. If i do not write anything, it should pull the name of the linked document, just as it does when rendering the title in code. it also display the name of the linked document in gray in the link title box if you do not write anything,
So my question now is: How do i make it render the link title properly in the block label option?!?
If i do not write anything, it should pull the name of the linked document, just as it does when rendering the title in code. it also display the name of the linked document in gray in the link title box if you do not write anything,
This was not the behaviour in v13.4.0. but this is same for me as well in the latest.
Yes, but this is as the other one stated, unexpected behavior and not how it was before. And breaks the system. We rarely write anything in this field as it should always pull the title from the linked page.
Looks like the recent updates to the LinkPickerController skip setting $scope.model.target.name for documents and media, probably to avoid auto-filling the title with the picked item's name. It gives more flexibility but means titles need to be entered manually now.
I am still not sure which direction they are going with this, manual flexibility or the default one. v14 doesn't seem to have the same autofill aswell.
Displaying link title in block list
Hi,
I can't get a block list to show the title of a multi url link. I've done this countless times before but there must be something simple i'm overlooking this time!
I've created a block named Submenu. This block contains a Multi url picker configured for single url. This url picker is named submenuItemLink.
Then in another block i've added a block list and added the Submenu block to this block list. Here i set the label to render as:
{{ submenuItemLink[0].name }}
But the title of the link doesn't show up and just returns blank!
What on earth am i overlooking?
I just discovered that it returns blank if i do not write anything in link title. It only renders the link title if i manually writes something!
This is not expected behavior. If i do not write anything, it should pull the name of the linked document, just as it does when rendering the title in code. it also display the name of the linked document in gray in the link title box if you do not write anything,
So my question now is: How do i make it render the link title properly in the block label option?!?
This was not the behaviour in v13.4.0. but this is same for me as well in the latest.
I have the same issue on Umbraco version 13.4.1 and 13.5.1
Yes, but this is as the other one stated, unexpected behavior and not how it was before. And breaks the system. We rarely write anything in this field as it should always pull the title from the linked page.
Looks like the recent updates to the LinkPickerController skip setting $scope.model.target.name for documents and media, probably to avoid auto-filling the title with the picked item's name. It gives more flexibility but means titles need to be entered manually now.
I am still not sure which direction they are going with this, manual flexibility or the default one. v14 doesn't seem to have the same autofill aswell.
is working on a reply...