how do I set value if I get the value from the state, so I want to edit the form and value I get from the state