Contact Email, Phone Number and Links child tables fields not showing

Contact Email and Contact Phone Tables does not allow for entering of data as the options in table layout are hidden.

when clicking on arrow button it shows empty box.

What I have attempted till now:

  1. bench clear-cache && bench migrate
  2. Check for any circular dependencies (these are standar frappe doctypes there are no circular dependencies)
  3. Created a custom child doc type “Social Media Profile”. Add that to the contact as a table. Faced the same problem