You should retrieve the original form type and bind the value, so you will have a valid solution to set the value.