You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our form rendeder and Yup-schema builder dont' currently work well with oneOf -schema keywords. For this problem, we could follow react-jsonschema-forms approach where each option of OneOf -array are presented as select field, and after user has selected one option, that option is rendered. Look for "Policy URL / policy text" in policy schema for example
Following changes should be made:
Optional form field rendering based on user select, see formik docs for dependent fields and array-based rendering
Custom config to yup schema, where oneOf types are better recognized
To Reproduce
Steps to reproduce the behaviour:
open fill form option for either run, experiment, analysis or policy
Form renders, but only partially. See console for errors.
Expected behavior
Form renders without problems
The text was updated successfully, but these errors were encountered:
Describe the bug
Our form rendeder and Yup-schema builder dont' currently work well with oneOf -schema keywords. For this problem, we could follow react-jsonschema-forms approach where each option of OneOf -array are presented as select field, and after user has selected one option, that option is rendered. Look for "Policy URL / policy text" in policy schema for example
Following changes should be made:
To Reproduce
Steps to reproduce the behaviour:
Expected behavior
Form renders without problems
The text was updated successfully, but these errors were encountered: