Skip to content

[Bug]: Unwanted 'reset' option on globals #33271

@mrginglymus

Description

@mrginglymus

Describe the bug

Since 10.1 (possibly 10.0?) my toolbar globals have had a new 'Reset selection` option.

Clicking this sets the global value to the string _reset, which is obviously undesirable.

I would expect it to either

  1. set it to defaultValue
  2. set it to the initial value
  3. set it to undefined
  4. not be there

Reproduction link

https://stackblitz.com/edit/github-w91nbsqm?file=.storybook%2Fpreview.ts,src%2Fstories%2FConfigure.mdx,.storybook%2Fmain.ts&preset=node

Reproduction steps

No response

System

-

Additional context

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions