My all Javascript columns doesn’t work while it was working properly before.
Still working fine for me here. Have you tried using a VPN?
If you just have return p1, does it work?
code was working correctly before
I used to this code for preventing user that they cannot use numbers instead of word(address)
address column(p1) isn’t a location
I have problems for all Javascript column in my app
Always I am using VPN
I would suggest changing the country of your VPN, or changing between wi-fi/mobile data to see if it helps.
Usually this is because your computer cannot establish a connection to the place Glide is hosting these columns.
I’ll try it .Thank you so much @ThinDinh
I thought they process client-side. Why do they host them somewhere???
They do.
Because if they didn’t, they wouldn’t exist
Scripts are fetched from the host server and executed in the client’s browser. If the fetch path is relative and not resolved correctly, it may point to an unintended location, leading to 404 errors or stalled execution. This can cause dependent functions to hang or fail silently. Use the browser’s developer tools (Network tab) to inspect failed requests and ensure that script URLs are absolute or correctly resolved relative to the document.
Waitttttt I thought they were hosted on a server somewhere in the real world
Depends what you mean by “they”, but yes pretty much everything in Glide is cloud hosted. But JavaScript (including any that you host yourself) is first loaded onto the client device, and then executed locally.