Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add listOrNull knob #741

Merged
merged 1 commit into from
Jun 12, 2023
Merged

Conversation

YoussefRaafatNasry
Copy link
Member

@YoussefRaafatNasry YoussefRaafatNasry commented Jun 12, 2023

The new listOrNull knob is the nullable alternative of the list knob. This should be used if the options have a nullable value.

@docs-page
Copy link

docs-page bot commented Jun 12, 2023

To view this pull requests documentation preview, visit the following URL:

docs.widgetbook.io/~741

Documentation is deployed and generated using docs.page.

@YoussefRaafatNasry YoussefRaafatNasry self-assigned this Jun 12, 2023
@YoussefRaafatNasry YoussefRaafatNasry marked this pull request as ready for review June 12, 2023 12:40
@YoussefRaafatNasry YoussefRaafatNasry merged commit da8ae76 into main Jun 12, 2023
5 checks passed
@YoussefRaafatNasry YoussefRaafatNasry deleted the feat/nullable-list-knob branch June 12, 2023 12:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

In 3.0.0-rc.1 version, Knobs.list options cannot handle null value. fix: nullable options knob switch
1 participant