I want to unset a field in simpleSchema but the field is neither shown in set or unset under hooks
before:{
update:function(mod){
console.log(mod["$set"]);
console.log(mod["$unset"])
This is what I have done to unset
'mobility.walkerType':{
type:String,
optional:true,
label:"WalkerType",
autoValue:function(){
if(this.siblingField('type').value != "walker"){
this.unset();
}
},
}