davidraijmakers

Set Placeholder for simpleGeocoder

Discussion created by davidraijmakers on Jan 11, 2013
Latest reply on Jan 15, 2013 by davidraijmakers
I have seen the examples and API Reference.

Only with an arcgisGeocoder it is possible to set an placeholder.

Not with the esri.dijit.geocoder:

var geocoder = new esri.dijit.Geocoder({
          map: map,
          autocomplete: true,
          esriGeocoder: {
            name: "Zoek plaats/straat",
   placeholder: "Zoek Straat/Plaats"  NOT WORKING
           
          }
        },"search");

I also did some element inspector on Google Chrome. Does anyone know how to set the placeholder

<input aria-haspopup="true" id="search_input" tabindex="0" placeholder value="" autocomplete="off" type="text" data-dojo-attach-point="inputNode" data-dojo-attach-event="ondijitclick:_inputClick" role="textbox" style="">

Outcomes