We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 691ab60 commit 96a175dCopy full SHA for 96a175d
packages/ra-ui-materialui/src/input/SelectArrayInput.stories.tsx
@@ -181,6 +181,24 @@ export const DisabledChoice = () => (
181
</Wrapper>
182
);
183
184
+export const InputLabelProps = () => (
185
+ <Wrapper>
186
+ <SelectArrayInput
187
+ source="roles"
188
+ choices={[
189
+ { id: 'admin', name: 'Admin' },
190
+ { id: 'u001', name: 'Editor' },
191
+ { id: 'u002', name: 'Moderator' },
192
+ { id: 'u003', name: 'Reviewer' },
193
+ ]}
194
+ InputLabelProps={{
195
+ shrink: true,
196
+ required: true,
197
+ }}
198
+ />
199
+ </Wrapper>
200
+);
201
+
202
export const ReadOnly = () => (
203
<AdminContext i18nProvider={i18nProvider}>
204
<Create
0 commit comments