Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: πŸ› SQFormScrollable cards accepts value and label props #793

Merged
merged 1 commit into from
Sep 6, 2022

Conversation

20BBrown14
Copy link
Contributor

@20BBrown14 20BBrown14 commented Aug 31, 2022

SQFormScrollableCard now accepts value and label as props to accomodate
SQFormScrollableCardsMenuWrapper

βœ… Closes: #792

OLD:

Screen Shot 2022-09-01 at 12 18 19 PM

NEW:
Screen Shot 2022-09-01 at 12 17 59 PM

@laurelbean
Copy link
Contributor

Can you please add a screenshot or video demo-ing the fix?

@20BBrown14
Copy link
Contributor Author

Can you please add a screenshot or video demo-ing the fix?

Whoops, forget to add it. DOne now

src/types/MaybeArray.ts Outdated Show resolved Hide resolved
SQFormScrollableCard now accepts value and label as props to accomodate
SQFormScrollableCardsMenuWrapper

βœ… Closes: #792
*/
children: JSX.Element | JSX.Element[];
children: ArrayOrSingle<React.ReactElement<{value: string; label: string}>>;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oh i like this little ArrayOrSingle utility type!

@20BBrown14 20BBrown14 merged commit 1a669b3 into issue-447/MUI5_migration Sep 6, 2022
@20BBrown14 20BBrown14 deleted the issue-792 branch September 6, 2022 15:25
kaylamc2 pushed a commit that referenced this pull request Dec 2, 2022
## [10.0.0](v9.7.0...v10.0.0) (2022-12-02)

### ⚠ BREAKING CHANGES

* 🧨 SQFormDialogStepper respects validation schema
* 🧨 Renamed rows and maxRows props on SQFormTextarea

### Features

* 🎸 Migrate InclusionList to MUI5 ([7c8b982](7c8b982)), closes [#729](#729)
* 🎸 Migrate SQFormAutoComplete to MUI5 ([0657e4b](0657e4b)), closes [#723](#723)

### Bug Fixes

* πŸ› SQFormDialogStepper validation works properly ([#791](#791)) ([bf6b18e](bf6b18e)), closes [#790](#790)
* πŸ› SQFormScrollable cards accepts value and label props ([#793](#793)) ([1a669b3](1a669b3)), closes [#792](#792)

### Code Refactoring

* πŸ’‘ SQFormTextarea to MUIv5 ([30d2301](30d2301)), closes [#710](#710)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants