How update the state of one field based on other field selection

Hello there,

We have requirement where we have disable field2 in content manager if field1 has a value. Please let me know if I have to extend content-manager plugin to achieve this.

Can someone please help??