Hi @SalmanMaqbool,
I know we chatted about this already, but I wanted to post here as well in case someone runs into this --
Here are two potential workarounds:
- https://cdn.jsdelivr.net/npm/nano-id@1.1.0/index.js with a JS query that returns nanoId(), as opposed to nanoid()
2. Workaround by importing this library: https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.0.0/crypto-js.min.js And then copy & paste the code into Preloaded JS:
window.nanoid=(t=21)=>{let e="", r=crypto.getRandomValues(new Uint8Array(t));for(;t--;){let n=63&r[t];e+=n<36?n.toString(36):n<62?(n-26).toString(36).toUpperCase():n<63?"_":"_"}return e};
See below: