From 3e0b941b6a382f32c53007580a5ed0ac75cdbc3c Mon Sep 17 00:00:00 2001 From: Thomas Allmer Date: Thu, 24 Oct 2019 14:11:09 +0200 Subject: [PATCH] fix(input-amount): add demo how to show no fractions --- .../input-amount/stories/index.stories.js | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/packages/input-amount/stories/index.stories.js b/packages/input-amount/stories/index.stories.js index 9678e8c78..9e5bbf15c 100644 --- a/packages/input-amount/stories/index.stories.js +++ b/packages/input-amount/stories/index.stories.js @@ -67,4 +67,23 @@ storiesOf('Forms|Input Amount', module) > `, + ) + .add( + 'Show no fractions', + () => html` + + +

+ Make sure to set the modelValue last as otherwise formatOptions will not be taken into + account +

+ `, );