[Bug]: if a control option includes 'reverse' , function reverse() { [native code] }
is displayed
#30142
Labels
function reverse() { [native code] }
is displayed
#30142
Describe the bug
If a story control type contains the word 'reverse' among its options, the control value in the UI for this option will display the text
function reverse() { [native code] }
instead of "reverse".I've provided the StackBlitz reproduction link below, however it is from an anonymous fork, so it might get wiped after a while. In that case, the story setup is quite straightforward:
Reproduction link
https://stackblitz.com/edit/github-yndwrtai?file=src%2Fstories%2FSomeComponent.stories.svelte
Reproduction steps
{control: "inline-radio", options: ["normal", "reverse"]}
System
Additional context
No response
The text was updated successfully, but these errors were encountered: