Field config are not updated when type is changed

When editing the field on the Configure App page, if I change it to a different type, the field config with the same name is not rerendered.

This problem occurs regardless of the type attribute.