How to clear a relationship field

So how do you CLEAR a relationship field that has a value in it?  I tried

this.model.set('whatevercontracts_accountsaccounts_ida', '')
this.model.set('whatevercontracts_accounts_name', '');

but that doesn't really work, it seems to leave the name in place.  If I d
this.model.set('whatevercontracts_accountsaccounts_ida', '')
this.model.set('whatevercontracts_accounts_name', ' ');

(see space in the name), that clears the name but doesn't really reset the field.
Parents Reply Children
  • Thats not exactly what I am looking for.  What I am trying to do is clear the field on a create or record view, like if I have a partner contact name selected (the person at an account) and then they clear or change the Partner (account) it should clear the Partner Contact relationship field as that person is no longer valid.  So I am not talking about clearing the field in the DB or deleting the relationship record, I am JUST talking about clearing the field on the screen.