forked from rjsf-team/react-jsonschema-form
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(@rjsf/chakra-ui) Unify appearance of chakra-ui SelectWidget for s…
…ingle and multiple-choice (rjsf-team#3182) * @rjsf/chakra-ui: support chakra-react-select v4; In particular move from to and add to peerDependencies * Correct rjsf version * Add chakra-react-select to pre-requisites in chakra-ui README * Use Select widget from chakra-react-select for both single- and multi-select; Display label rather then value for selected items in multi-select * Update test snapshot * Remove duplicate test, add new tests * Update CHANGELOG * Make it prettier * Correctly pass uischema option enumDisabled to chakra-react-select widgets * Add tests for ui:enumDisabled * Make tests prettier * Add onFocus and onBlur handlers from wrapping form control * Add back the autoFocus prop * Pass a value to single-select widget; Refactor chakra-ui SelectWidget code as suggested in PR review; Update snapshots for tests * Run cs-format * chakra-ui SelectWidget: Fix unit tests for isDisabled; Add unit tests for formData Co-authored-by: dorofel <lisa.dorofeeva@lightsource.ca>
- Loading branch information
1 parent
6666b18
commit cb27360
Showing
4 changed files
with
2,407 additions
and
286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.