Skip to content

Commit dc5889b

Browse files
fix: allow storybook to change options in selectinputfield (#5817)
* fix: allow storybook to change options in selectinputfield * fix: remove useless changeset --------- Co-authored-by: Pierre <[email protected]>
1 parent b2f2a5d commit dc5889b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/form/src/components/SelectInputField/__stories__/Template.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ import { SelectInputField } from '..'
33
import { cities } from './resources'
44

55
export const Template: StoryFn<typeof SelectInputField> = args => (
6-
<SelectInputField {...args} options={cities} />
6+
<SelectInputField {...args} options={args.options || cities} />
77
)

0 commit comments

Comments
 (0)