[openstreetmap/openstreetmap-website] Use .is-invalid to highlight routing inputs with failed geocode lookups (PR #4897)

Anton Khorev notifications at github.com
Fri Jun 14 16:47:49 UTC 2024


Currently `.error` is added to these inputs, but it doesn't make them look any different.

![image](https://github.com/openstreetmap/openstreetmap-website/assets/4158490/538d5c7e-05ea-4b6a-9a08-c321d2513e69)

You can view, comment on, or merge this pull request online at:

  https://github.com/openstreetmap/openstreetmap-website/pull/4897

-- Commit Summary --

  * Use .is-invalid to highlight routing inputs with failed geocode lookups

-- File Changes --

    M app/assets/javascripts/index/directions.js (6)

-- Patch Links --

https://github.com/openstreetmap/openstreetmap-website/pull/4897.patch
https://github.com/openstreetmap/openstreetmap-website/pull/4897.diff

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/4897
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/openstreetmap-website/pull/4897 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20240614/d513b515/attachment.htm>


More information about the rails-dev mailing list