How to set a belongsTo field to null

I can’t set a property thats defined as a ‘belongsTo’ field to null. The property simply keeps the value it had before. How can I do that? ASAP

this.set(‘property’, null)?

You are right, I figured it out. I was doing something weird with that property somewhere else and thats why it was set immediately to the old value again. Hard to debug sometimes.

Thanks answays! :slight_smile:

1 Like