Custom List View Template
# help-with-umbraco
j
- I have a custom list view and I need to display the selected value of a dropdown without the brackets and quotation marks (see screenshot). {{ value }} and {{ value.selected }} do not work. Anyone have an idea? https://cdn.discordapp.com/attachments/1197557901116575774/1197557901234032690/Screenshot_2024-01-18_100645.png?ex=65bbb3b5&is=65a93eb5&hm=e47cb838cb5fd8cc22b738243f9ab707776a627912ae7d6310d3304b8169172c&
j
You'll probably need to add your own angularjs filter that you can apply. See fx the default filter for truncating: https://github.com/umbraco/Umbraco-CMS/blob/8088b726b43d37a638f58641e8dc4a0077fa1b12/src/Umbraco.Web.UI.Client/src/common/filters/truncate.filter.js Which is then applied like this: https://github.com/umbraco/Umbraco-CMS/blob/8088b726b43d37a638f58641e8dc4a0077fa1b12/src/Umbraco.Web.UI.Client/src/views/common/overlays/itempicker/itempicker.html#L25 You can create your own filter that strips the additional things from the text
2 Views