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

MissionSelector.Fix: Warning: Use the defaultValue or value props on <select> instead of setting selected on <option>.%s #34

Closed
CookingWithCale opened this issue May 21, 2020 · 0 comments

Comments

@CookingWithCale
Copy link
Collaborator

CookingWithCale commented May 21, 2020

Problem

The problem I am addressing on this mission is that I'm manually setting the HTML option select flag, and React doesn't like this.

Solution

The solution that I'm addressing on this mission is to bend the knee and take that React d up the a and just use defaultValue.

Affected Files

  1. ~/**/*.*

Hierarchy

Tags

Mission

A

Sessions

License

Copyright AStartup; all rights reserved.

@CookingWithCale CookingWithCale changed the title Learn.React.Section13 MissionSelector.Fix: Warning: Use the defaultValue or value props on <select> instead of setting selected on <option>.%s Feb 22, 2024
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

No branches or pull requests

1 participant