-
-
Notifications
You must be signed in to change notification settings - Fork 230
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
Bug(Schema): Computed with Union Not Showing Branches Correctly #1382
Labels
bug
BUG
Comments
It should be |
Okay I have updated the examples and:
|
MaikoTan
changed the title
Bug(Schema): Computed with Union Not Showing Options Correctly
Bug(Schema): Computed with Union Not Showing Branches Correctly
Mar 26, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Computed schema with union schema behaves weird currently.
Also some are not visible in production mode.
union()
✅computed(number())
❌ branches ✅ save configcomputed(union())
✅ resolve options ❌ branches ✅ save configcomputed(union([const(), const()])
✅ resolve options ❌ branches ✅ save configcomputed(union([const(), const(), object()])
✅ resolve options ❌ branches ✅ save configcomputed(union()).role('radio')
✅ resolve options ❌ branches ✅ save configcomputed(union([const(), const()]).role('radio')
✅ resolve options ❌ branches ✅ save configSteps to reproduce
Or see this repo instead
Expected behaviour
Able to resolve options and save config correctly.
Screenshots
Dev Mode
Prod Mode
Versions
Additional context
No response
The text was updated successfully, but these errors were encountered: