Heath C
Heath C
> I found a bug in my PR :( `oneOf` properties with default values are being discarded. For example: > > ... > > I'll look for a solution, but...
@kovayur This is a great addition... Sorry it has taken so long for someone to look at it. I'm sad to say that the current branch has been locked down...
Does it work for you to make the outer element an `object` type and the `attribute1`, `attribute2` and `attribute3` properties?
Is that an acceptable solution?
@jacqueswho Do you have time to take a look at this?
@knjoeyn With the utils functions being refactored into its own package `@rjsf/utils` in v5, this code needs to be refactored there
@lpillonel Sorry to be the bearer of less than happy news, but the `validate.js` file was refactored into its own `@rjsf/validator-ajv6` and `@rjsf/validator-ajv8` packages in the v5 beta. Are you...
@davidebriani rjsf-v5 will be adding support for `ajv8`. We can consider bumping the schema version support to the latest at that point.
If you do something like the following it should work. ```tsx schema = { type: "string" } uiSchema = { "ui:options": { maxLength: 10 } } ```
@MrDelik what about modifying your custom `ObjectFieldTemplate` to insert these custom props into a copy of the `uiSchema` object that IS guaranteed to be passed down to the widgets?