When the class has meetings on the meeting tab, the field will automatically turn yellow. The teacher must be entered on the meetings tab of the course instead of the Class tab.


User-added image 

If the class does not have any meetings on the meetings tab, then the teacher would be entered on the Class tab. The field would be available.

User-added image