This error can be solved by making use of select Value={this.state.option} which we are going to use , instead of making use of selected on option values.
Subscribe to:
Post Comments (Atom)
Call a function in child component from parent component in React
Consider the following parent component class Parent extends React.Component { constructor(props) { super(props); thi...
-
The process of replacing a module with generic and mostly empty object, called a mock. Advantages: Isolates our code from its dependen...
-
An object is an entity that has Properties for identifying State, Methods for behavior, Events for depicting the change of State. Data ass...
-
When we create a class or struct, its constructor is called. Constructor will have same name as a class or struct and is usually used to ini...
No comments:
Post a Comment