Hello,
I’m getting the error “'Unexpected confirm.” during fdk validate but cannot find the reason. I know ES-lint sometimes has issues with this but window.confirm() generally works. Does anyone know how to work around this? There is nothing wrong with the line of code itself.
Since this is used from within a modal, I cannot use the Interface API (and I’d rather not go through Crayons just for the purpose of that confirmation popup).
if (window.confirm('Are you sure you want to confirm this task?')) {}
Thanks!