Ecmascript 2021 in UI pages

Stephen W_
Giga Guru

[Yokohama]
I've got a UI page in the global scope, and I'd really like to use optional chaining in the HTML evaluate tags. 
Regardless whether that's supported, the toggle at the top of the form "Turn on ECMAScript 2021 (ES12) mode" always flips back to .false. after saving the form.

I've looked in the sys_es_latest_script table, and no records were updated.  I manually created a record there for the UI page, but upon reloading it still is marked false.

Is this a known issue with UI pages?  Is there a workaround?

5 REPLIES 5

Stephen W_
Giga Guru

It seems I may have had a momentary browser quirk affecting the switch.  It's 'on' now.