Skip to content

Commit

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

- Added support for `anyOf`/`oneOf` in `uiSchema`s in the `MultiSchemaField`, fixing [#4039](https://github.com/rjsf-team/react-jsonschema-form/issues/4039)

## @rjsf/chakra-ui

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

## @rjsf/utils

- [4024](https://github.com/rjsf-team/react-jsonschema-form/issues/4024) Added `base64` to support `encoding`
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 a043b55

Please sign in to comment.