@rjsf/antd
Advanced tools
Changelog
5.15.1
getFieldNames
. Now correctly defines an array of primitives.AJV6Validator
class to expose the internal ajv
object, allowing access to support a fix related to #3972AJV8Validator
class to expose the internal ajv
object, allowing access to support a fix related to #3972ajv
variableChangelog
5.15.0
"ui:label": false
is specified.resolveAllReferences()
to use own recurse list for each object properties, fixing #3961allOf
to experimental_defaultFormStateBehavior
for populating defaults when using allOf
schemas #3969utils
in validator-ajv6
and validator-ajv8
packages tsconfigsexperimental_defaultFormStateBehavior.allOf
behaviour in the playgroundChangelog
5.14.3
retrieveSchema
at Form
state to memoize the result of schemUtils.retrieveSchema
ArrayFieldItemTemplate
items"importHelpers": false
to remove need for tslib dependency #3958snapshot-tests
in a root tsconfig, update it to also use es modulesChangelog
5.14.2
peerDependencies
for @ant-design/icons
to also support v5, fixing #3507retrieveSchema
twice during getStateFromProps
and mustValidate
is true #3959hideError
property to the DOM element, fixing #3945hideError
property to the DOM element, fixing #3945sanitizeDataForNewSchema()
to avoid spreading strings and Arrays into the returned value when the old schema is of type string
or array
and the new schema is of type object
. Fixing #3922Changelog
5.14.1
sanitizeDataForNewSchema()
to avoid spreading strings and Arrays into the returned value when the old schema is of type string
or array
and the new schema is of type object
. Fixing #3922labelValue
to have more granular return types, fixing #3946Changelog
5.13.6
StringField
to pass hideError
prop to Widget
so that all fields are consistent. Missed this file in previous patchChangelog
5.13.5
StringField
and BooleanField
to pass hideError
prop to Widget
so that all fields are consistentChangelog
5.13.3
SelectWidget
so that filtering works by reworking how options
are passed to the underlying Select
UNSAFE_componentWillReceiveProps()
method in the Form.tsx component with an improved solution utilizing the React lifecycle methods: getSnapshotBeforeUpdate()
and componentDidUpdate()
. Fixing #1794ArrayField
implementation to never pass an undefined schema for fixed arrays to other methods, fixing #3924getSnapshotBeforeUpdate()
caused by the fix for #1794, fixing #3927toPathSchemaInternal()
util to generate correct path schemas for fixed arrays by picking up individual schemas in the items
array, fixing #3909Changelog
5.13.2
resolveAnyOrOneOfSchemas()
to not take a recurseList
anymore, and instead always pass an empty array down to resolveAllReferences()
, fixing #3902
parseSchema()
and resolveDependencies()
to no longer pass recurseList
to resolveAnyOrOneOfSchemas()
AJV8PrecompiledValidator
to add a new ensureSameRootSchema()
function that is called in both rawValidation()
and isValid()