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

Forward options to formatter #1536

Open
rodolpheV opened this issue Feb 21, 2018 · 0 comments
Open

Forward options to formatter #1536

rodolpheV opened this issue Feb 21, 2018 · 0 comments
Assignees

Comments

@rodolpheV
Copy link
Contributor

Current behaviour

Input and display components both call formatter()

https://github.com/KleeGroup/focus-components/blob/3012fd2444a2c0b524a54b5c76c8571ab4dc2335/src/components/input/text/index.js#L83

https://github.com/KleeGroup/focus-components/blob/3012fd2444a2c0b524a54b5c76c8571ab4dc2335/src/components/display/text/index.js#L17

Expected behaviour

Can you make it forward given options by calling: formatter(value, options)?

Versions

Focus-components: 2.2.2

@AdrienViala AdrienViala self-assigned this Oct 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants