Heath C

Results 438 comments of Heath C

If you have a fork of rjsf, you could then `git checkout` a commit (maybe the release commit) from 6 months ago and build and run the playground locally and...

Here is a link to the [playground](https://rjsf-team.github.io/react-jsonschema-form/#eyJmb3JtRGF0YSI6eyJwbGF0Zm9ybSI6eyJwbGF0Zm9ybSI6IkZhY2Vib29rIn19LCJzY2hlbWEiOnsidHlwZSI6Im9iamVjdCIsInByb3BlcnRpZXMiOnsicGxhdGZvcm0iOnsidGl0bGUiOiIiLCIkcmVmIjoiIy9kZWZpbml0aW9ucy9wbGF0Zm9ybSJ9fSwiZGVmaW5pdGlvbnMiOnsidXNlcm5hbWUiOnsidHlwZSI6InN0cmluZyIsInRpdGxlIjoiRW50ZXIgVXNlcm5hbWUifSwidXJsIjp7InR5cGUiOiJzdHJpbmciLCJ0aXRsZSI6IkVudGVyIHVybCJ9LCJsaW5lSWQiOnsidHlwZSI6InN0cmluZyIsInRpdGxlIjoiRW50ZXIgTGluZUlEIn0sInBsYXRmb3JtIjp7InR5cGUiOiJvYmplY3QiLCJwcm9wZXJ0aWVzIjp7InBsYXRmb3JtIjp7InR5cGUiOiJzdHJpbmciLCJ0aXRsZSI6IlNlbGVjdCBQbGF0Zm9ybSIsImVudW0iOlsiLS1zZWxlY3QtLSIsIkZhY2Vib29rIiwiSW5zdGFncmFtIiwiTGluZSJdLCJkZWZhdWx0IjoiLS1zZWxlY3QtLSJ9fSwiZGVwZW5kZW5jaWVzIjp7ImFjdGlvbiI6eyJvbmVPZiI6W3sicHJvcGVydGllcyI6eyJhY3Rpb24iOnsiY29uc3QiOiJGb2xsb3cifSwidXNlcm5hbWUiOnsiJHJlZiI6IiMvZGVmaW5pdGlvbnMvdXNlcm5hbWUifX19LHsicHJvcGVydGllcyI6eyJhY3Rpb24iOnsiY29uc3QiOiJTaGFyZSJ9LCJ1cmwiOnsiJHJlZiI6IiMvZGVmaW5pdGlvbnMvdXJsIn19fSx7InByb3BlcnRpZXMiOnsiYWN0aW9uIjp7ImNvbnN0IjoiQWRkIn0sImxpbmVJZCI6eyIkcmVmIjoiIy9kZWZpbml0aW9ucy9saW5lSWQifX19XX0sInBsYXRmb3JtIjp7Im9uZU9mIjpbeyJwcm9wZXJ0aWVzIjp7InBsYXRmb3JtIjp7ImVudW0iOlsiRmFjZWJvb2siXX0sImFjdGlvbiI6eyJ0eXBlIjoic3RyaW5nIiwidGl0bGUiOiJTZWxlY3QgQWN0aW9uIiwiZW51bSI6WyJGb2xsb3ciLCJTaGFyZSJdLCJlbnVtTmFtZXMiOlsiRm9sbG93IiwiU2hhcmUiXX19fSx7InByb3BlcnRpZXMiOnsicGxhdGZvcm0iOnsiZW51bSI6WyJJbnN0YWdyYW0iXX0sImFjdGlvbiI6eyJ0eXBlIjoic3RyaW5nIiwidGl0bGUiOiJTZWxlY3QgQWN0aW9uIiwiZW51bSI6WyJGb2xsb3ciXSwiZW51bU5hbWVzIjpbIkZvbGxvdyJdfX19LHsicHJvcGVydGllcyI6eyJwbGF0Zm9ybSI6eyJlbnVtIjpbIkxpbmUiXX0sImFjdGlvbiI6eyJ0eXBlIjoic3RyaW5nIiwidGl0bGUiOiJTZWxlY3QgQWN0aW9uIiwiZW51bSI6WyJBZGQiXSwiZW51bU5hbWVzIjpbIkFkZCJdfX19XX19fX19LCJ1aVNjaGVtYSI6e30sInRoZW1lIjoibWF0ZXJpYWwtdWktNSIsImxpdmVTZXR0aW5ncyI6e319) with your example. I'm noticing that when you select a different platform, the `action` data remains, which is why the input field shows...

@Bhirahaspathi-Sairam See my updated comment above

@magaton Yes, this is a new feature request. Thanks for following up. We'd love help building it.

@YuJianghao How goes the work on this theme? You seemed to have stalled out. Do you need anything from us?

@magaton The issue might be in one of three places: In `@rjsf/utils`: either the `pathToSchema()` is generating a bad or missing schema path in which case MAYBE #3916 will fix...

@YuJianghao You can provide, as part of your theme a custom `AnyOfField` and/or `OneOfField` that does what you want. See the [docs](https://rjsf-team.github.io/react-jsonschema-form/docs/advanced-customization/custom-widgets-fields#customizing-the-default-fields-and-widgets) That said, I agree that having this new...

@linde12 Is this still a problem since the replacement of the `UNSAFE_componentWillReceiveProps()` with `getSnapshotBeforeUpdate()`?

Are you ok with an if-then as shown via this [playground](https://rjsf-team.github.io/react-jsonschema-form/#eyJmb3JtRGF0YSI6eyJzaW1wbGUiOnsiZW5hYmxlZCI6ZmFsc2V9fSwic2NoZW1hIjp7InRpdGxlIjoiU2NoZW1hIGRlcGVuZGVuY2llcyIsImRlc2NyaXB0aW9uIjoiVGhlc2Ugc2FtcGxlcyBhcmUgYmVzdCB2aWV3ZWQgd2l0aG91dCBsaXZlIHZhbGlkYXRpb24uIiwidHlwZSI6Im9iamVjdCIsInByb3BlcnRpZXMiOnsic2ltcGxlIjp7InRpdGxlIjoiU2ltcGxlIiwidHlwZSI6Im9iamVjdCIsInByb3BlcnRpZXMiOnsibmFtZSI6eyJ0eXBlIjoic3RyaW5nIn0sImVuYWJsZWQiOnsidHlwZSI6ImJvb2xlYW4ifX0sInJlcXVpcmVkIjpbIm5hbWUiXSwiaWYiOnsicHJvcGVydGllcyI6eyJlbmFibGVkIjp7ImNvbnN0Ijp0cnVlfX19LCJ0aGVuIjp7InByb3BlcnRpZXMiOnsiYmlsbGluZ19hZGRyZXNzIjp7InR5cGUiOiJzdHJpbmcifX0sInJlcXVpcmVkIjpbImJpbGxpbmdfYWRkcmVzcyJdfX19fSwidWlTY2hlbWEiOnt9LCJ0aGVtZSI6ImRlZmF1bHQiLCJsaXZlU2V0dGluZ3MiOnsic2hvd0Vycm9yTGlzdCI6InRvcCIsImV4cGVyaW1lbnRhbF9kZWZhdWx0Rm9ybVN0YXRlQmVoYXZpb3IiOnsiYXJyYXlNaW5JdGVtcyI6eyJwb3B1bGF0ZSI6InBvcHVsYXRlIiwibWVyZ2VFeHRyYURlZmF1bHRzIjpmYWxzZX0sImVtcHR5T2JqZWN0RmllbGRzIjoicG9wdWxhdGVBbGxEZWZhdWx0cyJ9fX0=) link?

Can you use strings instead? The way RJSF does booleans will always set a value to true/false once data is provided. To make it support the `indeterminate`/undefined state would be...