You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When the user select an option for the "samples" controls, the url iframe is : http://localhost:6006/iframe.html?viewMode=story&id=test--story&args=samples[0]:option1;
It's properly displayed but if we open it in a new browser tab or window (using (or not) the eject button) the page log an error :
Received illegal value for 'samples[0]'. Supported options: 'option1', 'option2', 'option3'
ryuran
changed the title
[Bug]: Illegal value for check argType when "eject" a story
[Bug]: Illegal value for check argType from url query params
Nov 5, 2022
Describe the bug
@storybook/html: 6.5.13
"check" argTypes do not works in standalone iframe.
Url parsing to get args values warn
Received illegal value for…
To Reproduce
Given a story with argType type "check":
When the user select an option for the "samples" controls, the url iframe is :
http://localhost:6006/iframe.html?viewMode=story&id=test--story&args=samples[0]:option1;
It's properly displayed but if we open it in a new browser tab or window (using (or not) the eject button) the page log an error :
System
Additional context
No response
The text was updated successfully, but these errors were encountered: