Threshold that cannot be exceeded even if per channel thresholds are still available
@@ -197079,16 +197784,10 @@ exports[`Storyshots Views / Products / Product edit no stock, no variants and no class="MuiFormControl-root-id MuiTextField-root-id ProductStocks-thresholdInput-id MuiFormControl-fullWidth-id" > @@ -197110,13 +197808,13 @@ exports[`Storyshots Views / Products / Product edit no stock, no variants and no class="PrivateNotchedOutline-legendLabelled-id PrivateNotchedOutline-legendNotched-id" > - Global threshold * + Global thresholdThreshold that cannot be exceeded even if per channel thresholds are still available
@@ -198660,16 +199358,10 @@ exports[`Storyshots Views / Products / Product edit no variants 1`] = ` class="MuiFormControl-root-id MuiTextField-root-id ProductStocks-thresholdInput-id MuiFormControl-fullWidth-id" > @@ -198691,13 +199382,13 @@ exports[`Storyshots Views / Products / Product edit no variants 1`] = ` class="PrivateNotchedOutline-legendLabelled-id PrivateNotchedOutline-legendNotched-id" > - Global threshold * + Global thresholdThreshold that cannot be exceeded even if per channel thresholds are still available
@@ -204636,16 +205327,10 @@ exports[`Storyshots Views / Products / Product edit when product has no variants class="MuiFormControl-root-id MuiTextField-root-id ProductStocks-thresholdInput-id MuiFormControl-fullWidth-id" > @@ -204667,13 +205351,13 @@ exports[`Storyshots Views / Products / Product edit when product has no variants class="PrivateNotchedOutline-legendLabelled-id PrivateNotchedOutline-legendNotched-id" > - Global threshold * + Global thresholdThreshold that cannot be exceeded even if per channel thresholds are still available
@@ -222452,16 +223136,10 @@ exports[`Storyshots Views / Products / Product variant details attribute errors class="MuiFormControl-root-id MuiTextField-root-id ProductStocks-thresholdInput-id MuiFormControl-fullWidth-id" > @@ -222483,13 +223160,13 @@ exports[`Storyshots Views / Products / Product variant details attribute errors class="PrivateNotchedOutline-legendLabelled-id PrivateNotchedOutline-legendNotched-id" > - Global threshold * + Global thresholdThreshold that cannot be exceeded even if per channel thresholds are still available
@@ -224395,16 +225072,10 @@ exports[`Storyshots Views / Products / Product variant details no warehouses 1`] class="MuiFormControl-root-id MuiTextField-root-id ProductStocks-thresholdInput-id MuiFormControl-fullWidth-id" > @@ -224426,13 +225096,13 @@ exports[`Storyshots Views / Products / Product variant details no warehouses 1`] class="PrivateNotchedOutline-legendLabelled-id PrivateNotchedOutline-legendNotched-id" > - Global threshold * + Global thresholdThreshold that cannot be exceeded even if per channel thresholds are still available
@@ -226338,16 +227008,10 @@ exports[`Storyshots Views / Products / Product variant details when loaded data class="MuiFormControl-root-id MuiTextField-root-id ProductStocks-thresholdInput-id MuiFormControl-fullWidth-id" > @@ -226369,13 +227032,13 @@ exports[`Storyshots Views / Products / Product variant details when loaded data class="PrivateNotchedOutline-legendLabelled-id PrivateNotchedOutline-legendNotched-id" > - Global threshold * + Global thresholdThreshold that cannot be exceeded even if per channel thresholds are still available
diff --git a/src/storybook/stories/components/SingleSelectField.tsx b/src/storybook/stories/components/SingleSelectField.tsx index 78ce636e9..d70a93f46 100644 --- a/src/storybook/stories/components/SingleSelectField.tsx +++ b/src/storybook/stories/components/SingleSelectField.tsx @@ -12,6 +12,25 @@ const choices = [ { label: "Accessories", value: "4" } ]; +const manyChoices = [ + { label: "Apparel", value: "1" }, + { label: "Groceries", value: "2" }, + { label: "Books", value: "3" }, + { label: "Accessories", value: "4" }, + { label: "Audiobooks", value: "5" }, + { label: "Bananas", value: "6" }, + { label: "Apples", value: "7" }, + { label: "Fridge", value: "8" }, + { label: "PCs", value: "9" }, + { label: "Music", value: "10" }, + { label: "Clothes", value: "11" }, + { label: "Smartphones", value: "12" }, + { label: "Keyboards", value: "13" }, + { label: "LEDs", value: "14" }, + { label: "Cars", value: "15" }, + { label: "Petrol", value: "16" } +]; + storiesOf("Generics / SingleSelectField", module) .addDecorator(CardDecorator) .addDecorator(Decorator) @@ -25,6 +44,13 @@ storiesOf("Generics / SingleSelectField", module) value={choices[0].value} /> )) + .add("with many values", () => ( +