Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter to resolve form name when used in block list #879

Closed
bjarnef opened this issue Sep 21, 2022 · 1 comment
Closed

Filter to resolve form name when used in block list #879

bjarnef opened this issue Sep 21, 2022 · 1 comment

Comments

@bjarnef
Copy link

bjarnef commented Sep 21, 2022

In Umbraco core we can use ncNodeName filter to resolve the Guid as a node name when used in block labels.
https://github.com/umbraco/Umbraco-CMS/blob/v10/contrib/src/Umbraco.Web.UI.Client/src/common/filters/nestedcontent.filter.js

{{form | ncNodeName}}

But this won't work for Form Picker.

Looking at umbraco.forms.js from the static assets https://nuget.info/packages/Umbraco.Forms.StaticAssets/10.1.2 it seems there are a few filters, but not one to resolve form name from guid.

Currently using {{form}} in label expression isn't pretty.

image

We couldn't of course write our own filter, but it would be great if it was included in Umbraco Forms.

@bjarnef bjarnef changed the title Filter to use on block list Filter to resolve form name when used in block list Sep 21, 2022
@AndyButland
Copy link

This will be available in 10.2, you'll be able to use {{form | umbFormsFormName}}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants