onSubmit script error: TypeError: Cannot read properties of null (reading 'hasAttribute'):

sayan3
Tera Contributor

Hello Everyone,
We are facing a issue that is for an existing request for a particular catalog item while we are trying to update and save the request.
we are getting below error.
onSubmit script error: TypeError: Cannot read properties of null (reading 'hasAttribute'):
function() {
saveAllSelected([ gel(id) ], [ gel(ref) ], ',', '\\', '--None--');
}

How to fix this issue?
refer screenshot
Any help would be highly appreciated.

Thanks,
Sayan Ghosh 

3 REPLIES 3

Sai Kumar B
Mega Sage
Mega Sage

it is already set to false.

Hitoshi Ozawa
Giga Sage
Giga Sage

Not sure if this is the cause but gel() isn't supported in service portal.