Open rodolpheV opened 6 years ago
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
Can you make it forward given options by calling: formatter(value, options)?
Focus-components: 2.2.2
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