STEPS TO REPRODUCE
- Go to Admin > Content
- Create a new structure
- Go to the Source tab
- Add the structure by using code.
- Go back to the View tab
The field should be kept in the view.
The field disappeared. The view goes blank.
When create a structure by using code in the source tab, save it directly without changing tab. Then the field will be saved successfully.