Handling state of select tag in dynamic input field react

I do not understand why the state is registered yet it does not have an effect to the intended value of beds. Here is the main component const options = ["1", "2", "3"]; class Apps extends React.Component { constructor(props) { super(props) this.state = { formValues: [{ name: "", email : "" ,beds:[options[0]]}] }; } handleChange(i,… Read More Handling state of select tag in dynamic input field react