I am using the combination of:
OpenStreetMaps
Leaflet.js
Leaflet Routing Machine + lrm-tomtom plugin (routing done using TomTom API)
and now I have decided to switch from Nominatim
geocoder (which is default in LRM) to OpenCageData geocoder. They do have plugin for Leaflet, works fine except one minor thing:
When I drag the marker to change the route, the geocoder input is updated in form of coordinates, like on the image below, whereas Nominatim updates the place name automatically.
Is there any way to implement same functionality for OpenCageData geocoder? I guess there should be but haven't figured that out yet.