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

[Field] Add a displayFor helper that returns the value without any html. #1452

Open
rodolpheV opened this issue Sep 18, 2017 · 3 comments
Open
Assignees

Comments

@rodolpheV
Copy link
Contributor

Expected

I would like a helper like displayFor that only returns the value with no html at all.
It is the option "textOnly" in Focus3, and it is called stringFor in Focus4.

Versions

Focus-core: 2.1.1
Focus-components: 2.1.7-1

@Hartorn
Copy link
Contributor

Hartorn commented Sep 26, 2017

@rodolpheV You can easily do that be giving a custom component in your domain, (data) => (formatter(data))

@Hartorn
Copy link
Contributor

Hartorn commented Sep 26, 2017

@c3dr0x

@Hartorn
Copy link
Contributor

Hartorn commented Nov 16, 2017

@bnau could you make a rawFor method?

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

5 participants