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

Allow type number for Optional component property value #283

Merged

Conversation

ocean90
Copy link
Contributor

@ocean90 ocean90 commented Jan 19, 2024

Description of the Change

Allow type number for Optional component property value.

Closes #282.

How to test the Change

Have a block with an attribute of type number and use it for the value prop of <Optional />

Changelog Entry

Changed - Allow type number for Optional component property value.

Credits

Props @ocean90.

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

Copy link
Member

@fabiankaegy fabiankaegy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR!

@fabiankaegy
Copy link
Member

Ahh yeah the PR Preview won't work because the secrets to log into NPM are missing in forks. I believe there is a similar issue with the Cypress setup currently. Merging this manually

@fabiankaegy fabiankaegy disabled auto-merge January 22, 2024 08:48
@fabiankaegy fabiankaegy merged commit 31e3e7d into 10up:develop Jan 22, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Allow type number as value for Optional
2 participants