Skip to content

Forward options to formatter #1536

@rodolpheV

Description

@rodolpheV

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions