Hello there, can u help me figure it out why am I getting this type of error?
- The value prop of the rendered textarea should be equal to techStack field of the state
the Code
`import React from 'react';
class App extends React.Component {
state = {
techStack: undefined
}
handleTechStackSelect = (event) => {
const {target: value} = event;
this.setState({techStack: value})
}
render(){
return(
<select>
<option placeholder='select'
onChange={this.handleTechStackSelect}
>
Select Technology
</option>
<option value="HTML">HTML</option>
<option value="CSS">CSS</option>
<option value="JS">JS</option>
<option value="React">React</option>
</select>
)
}
}
export default App;
`
Thank u in advance!!