@rjsf/antd
- Bump Antd version from v4 to v5.
- Intentionally kept peer dependencies to v4 so that this change doesn't make breaking change for
@rjfs/antd
users.
- However, if users of
@rjsf/antd
want to use v5 styling, they need to wrap your application with the StyleProvider
from @ant-design/cssinjs
. They need not have to install this package, its a transitive package coming from antd.
import { StyleProvider } from '@ant-design/cssinjs';
const Component = () => {
return (<StyleProvider><YourFormComponents /></StyleProvider>);
}
@rjsf/core
- Updated
MultiSchemaField
to only merge top level required field fixing duplicate field and description.
- Fixed programmatic validation (
validateForm()
) removes previous errors if all data is now valid.
@rjsf/chakra-ui
- Fixed a faulty check of the
isMultiple
option in MultiSchemaField
. It no longer offers multiple choice inside a select field in a oneOf
case in Chakra UI, fixing #3848