How to set a belongsTo field to null


#1

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


#2

this.set(‘property’, null)?


#3

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: