Skip to content

Commit 0f953ca

Browse files
author
Michael Jordan
authored
fix(#4067): Storybook Provider addon: Express input:checkbox requires id to be labelled by htmlFor prop (#4068)
1 parent 93afaaa commit 0f953ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.storybook/custom-addons/provider/register.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ function ProviderFieldSetter({api}) {
111111
</div>
112112
<div style={{marginRight: '10px'}}>
113113
<label htmlFor="express">Express: </label>
114-
<input type="checkbox" name="express" onChange={onExpressChange} checked={values.express} />
114+
<input type="checkbox" id="express" name="express" onChange={onExpressChange} checked={values.express} />
115115
</div>
116116
</div>
117117
)

0 commit comments

Comments
 (0)