Missed a critical check on the component type that was causing an error when creating fields other than simple_phone.