Now that the Component HTML template has been set up, we can test the result of our hard work: press F5, navigate to the Cities view, click the Add a new City button, and insert the following values:
- Name: New Tokyo
- Latitude: 35.685
- Longitude: 139.7514
- Country: Japan
If you did everything properly, you should be greeted by the following error message:
That's great! Our custom async validator is working fine and triggers both the front-end and the back-end validation logic.