Unable to create Notification

samadam
Mega Sage

I am trying to create a notification and getting this error:

onSubmit script error: TypeError: Cannot read properties of undefined (reading 'options'):

function() {
      var hinput = $(ref);
      var cfilter = getFilter(ref);
      hinput.value = unescape(cfilter);
      CustomEvent.fire("sys_mapping:on_cond_submit::" + ref, { value: hinput.value, ref: ref });
     }

It suddenly started any ideas on how to resolve?

2 REPLIES 2

samadam
Mega Sage

I tried chrome in incognito mode, cleared cache and tried edge as well. Nothing helped. 

HIROSHI SATOH
Mega Sage

If you can identify where ref is coming from and ensure it's properly initialized, this should resolve the issue.