Skip to content

fix(tools): sort small issues in formControl - #49872

Merged
raisedadead merged 1 commit into
freeCodeCamp:mainfrom
Sboonny:fix/sort-small-issues
Apr 18, 2023
Merged

raisedadead merged 1 commit into
freeCodeCamp:mainfrom
Sboonny:fix/sort-small-issues

Conversation

@Sboonny

@Sboonny Sboonny commented Mar 27, 2023 •

Copy link
Copy Markdown
Member

Checklist:

The only noteworthy change is changing the type, because it's possible to create a formControl without value, but with onChange or readonly.

Aka

<FormControl readonly />
<FormControl onChange />

The other changes are stop rendering the values when the component mounts, remove the need for object.assign, and clean extra props.

Can we Closes #45459?

@Sboonny Sboonny added the status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending. label Mar 27, 2023
@Sboonny
Sboonny requested a review from a team March 27, 2023 14:20
@github-actions github-actions Bot added the scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. label Mar 27, 2023
@ghost

ghost commented Mar 27, 2023

Copy link
Copy Markdown

👀 Review this PR in a CodeSee Review Map

View the CodeSee Map of this change

Review these changes using an interactive CodeSee Map

Legend

CodeSee Map legend

@raisedadead
raisedadead merged commit 27c7567 into freeCodeCamp:main Apr 18, 2023
@Sboonny
Sboonny deleted the fix/sort-small-issues branch May 8, 2023 06:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

scope: tools/scripts Scripts for supporting dev work, generating config and build artifacts, etc. status: waiting review To be applied to PR's that are ready for QA, especially when additional review is pending.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Creating Custom FormControl Component

3 participants