Owais ahmed

Results 14 comments of Owais ahmed

Fix: Promise.all() instead await for every importLibrary. ``` import { Loader } from '@googlemaps/js-api-loader'; const loader = new Loader({ apiKey: '' version: 'weekly', }); let libraries: any = null; async...

@Profesor08 Yes, that's true. You will need to call Promise.all() first and then access the variables later. Something like this. ``` const [{ Map },{Autocomplete}] = await Promise.all([ loader.importLibrary("maps"), loader.importLibrary("places")...

Maybe in future we could pass an array of Libraries instead 1 library in `importLibrary()`, but for now use `Promise.all()`. You can use `Promise.all()` in your main.js file and in...

Yes, the Select component is necessary in almost every project. While Bootstrap Select is a good library, if someone is looking for a Select2 Bootstrap 5 theme, they can use...

Typescript: https://gist.github.com/owaisahmed5300/cd4cf9a0a83b630a755cceb5181539cc Javascript: https://gist.github.com/supposedly/9b9f5de66c2bcbbf5d7469dcec50bfd7

yes, also if this is POST/REQUEST/SERVER/COOKIE. not only get. As long as this is a variable existence check. this should not raise Sanitize error.