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

fix(helpers): getFieldOptions - return empty array if oneOf missing in radio #67

Merged
merged 4 commits into from
Feb 13, 2024

Conversation

rylek90
Copy link
Collaborator

@rylek90 rylek90 commented Feb 13, 2024

Previously a valid schema with inputType: radio property, but without oneOf resulted in options returned as null which broke integration in the product. This addresses that issue.

https://remote-com.slack.com/archives/C02HTN0LY02/p1707816400971139?thread_ts=1706863325.161439&cid=C02HTN0LY02

@brennj
Copy link
Collaborator

brennj commented Feb 13, 2024

Looks good to me, you just need to verify it works internally aganist our FE following the instructions here to release a dev package. Once we see green in the CI, lets get this in.

Copy link
Collaborator

@brennj brennj left a comment

Choose a reason for hiding this comment

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

Approving based on passing tests internally.

@rylek90 rylek90 merged commit 6511330 into main Feb 13, 2024
3 checks passed
@rylek90 rylek90 deleted the mr/fix-empty-one-of branch February 13, 2024 11:23
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.

None yet

3 participants