/ai · zuhk/
I’m a software engineer from 🇵🇭
- 🌎 Web with React, Vue.js and Next.js
- 📱 Mobile with React Native
- 📡 API with Node.js and Laravel
- 🛠️ Typescript, PHP, Python
- 📖 Learning more about Remix and Go
📍Promise-based address selection in the Philippines
Home Page: https://www.npmjs.com/package/select-philippines-address
Please merge pull request. Thanks!
How do we get the zipcode using city?
I noticed that when you won't be changing the value of a particular select tag (e.g., city), it wont set the value.
Example, when you choose a city that has "one" barangay only, of course you wont be opening the Select tag anymore since it is already pre-selected or pre-filled. I suggest trying this location, and try to log the variables from useState:
Region: Region I (Ilocos Region)
Province: Ilocos Norte
City: Adams
Barangay: Adams (Pob) ---> The only barangay of City of Adams
When you log the selected options, you will notice that the Barangay is blank since there's no way to reselect/reset it. Thus, the resulting log will be:
Region: Region I (Ilocos Region)
Province: Ilocos Norte
City: Adams
Barangay:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.