Skip to content

Commit 69bd805

Browse files
committed
Add story
1 parent 27f440c commit 69bd805

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

packages/ra-ui-materialui/src/input/SelectInput.stories.tsx

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,19 @@ export const Disabled = () => (
112112
</Wrapper>
113113
);
114114

115+
export const DisabledChoice = () => (
116+
<Wrapper>
117+
<SelectInput
118+
source="city"
119+
choices={[
120+
{ id: 'P', name: 'Paris ' },
121+
{ id: 'L', name: 'London' },
122+
{ id: 'N', name: 'New York ', disabled: true },
123+
]}
124+
/>
125+
</Wrapper>
126+
);
127+
115128
export const Variant = ({ hideLabel }) => (
116129
<Wrapper>
117130
<SelectInput

0 commit comments

Comments
 (0)