It is possible to disable the Geosearch Esri controls in leaflet after the first geocode search? When I run Chrome console and I select the search geocode icon this is the code:
<input class="geocoder-control-input leaflet-bar">
I have tried to disable it using
$('.geocoder-control-input leaflet-bar').attr('disabled', true);
but it doesn't work.