Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ should change the heading of the (upcoming) version to include a major version b

- Restricted the chakra-react-select peerDependency to <6.0.0, fixing [#4539](https://github.com/rjsf-team/react-jsonschema-form/issues/4539)

## @rjsf/mui

- Fixed issue in BaseInputTemplate where input props were passed to `slotProps.htmlInput`, which does not work in MUI v5.

## Dev / docs / playground

- Updated docs for ArrayFieldItemTemplate to include prop `onCopyIndexClick`, fixing [#4507](https://github.com/rjsf-team/react-jsonschema-form/issues/4507)
Expand Down
4 changes: 1 addition & 3 deletions packages/mui/src/BaseInputTemplate/BaseInputTemplate.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,7 @@ export default function BaseInputTemplate<
autoFocus={autofocus}
required={required}
disabled={disabled || readonly}
slotProps={{
htmlInput: htmlInputProps,
}}
inputProps={htmlInputProps}
{...rest}
value={value || value === 0 ? value : ''}
error={rawErrors.length > 0}
Expand Down