Skip to content

Commit

Permalink
Fix: Make 'ui:rows' option work with chakra-ui for textarea elements #…
Browse files Browse the repository at this point in the history
  • Loading branch information
ldirer authored Feb 16, 2024
1 parent 0782878 commit 67f9c48
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ should change the heading of the (upcoming) version to include a major version b
-->

# 5.17.1

## @rjsf/chakra-ui

- Added support for `UiSchema` `"ui:rows"` option for `textarea` elements, fixing [#4070](https://github.com/rjsf-team/react-jsonschema-form/issues/4070).

# 5.17.0

## @rjsf/core
Expand Down
1 change: 1 addition & 0 deletions packages/chakra-ui/src/TextareaWidget/TextareaWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export default function TextareaWidget<
onChange={_onChange}
onBlur={_onBlur}
onFocus={_onFocus}
rows={options.rows}
aria-describedby={ariaDescribedByIds<T>(id)}
/>
</FormControl>
Expand Down

0 comments on commit 67f9c48

Please sign in to comment.