<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Dojo ComboBox Problem in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-combobox-problem/m-p/41307#M3540</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same problem and have just started looking into it today.&amp;nbsp; It's interesting though, if you look at this dojo sample, it does not happen - &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/documentation/tutorials/1.8/selects_using_stores/demo/ProgComboBox.php"&gt;http://dojotoolkit.org/documentation/tutorials/1.8/selects_using_stores/demo/ProgComboBox.php&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; This sample is dojo 1.8.3, so maybe it has been corrected more recently since the arcgis js api for 3.3 says it is using dojo 1.8.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 06 Feb 2013 16:23:14 GMT</pubDate>
    <dc:creator>GaryBilotta</dc:creator>
    <dc:date>2013-02-06T16:23:14Z</dc:date>
    <item>
      <title>Dojo ComboBox Problem</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-combobox-problem/m-p/41306#M3539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This is more of an issue with Dojo then the API, but it seems to be related to the newer version of the API (an app I wrote using 2.7 does not exhibit this behavior).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using a ComboBox connected to an ItemFileReadStore.&amp;nbsp; In Firefox/Chrome, typing a value into the combobox searches and correctly displays the matching records.&amp;nbsp; In IE9, I get boxes before/after the search string in the matching records.&amp;nbsp; The boxes are the sort used as a placeholder for a missing character in a font.&amp;nbsp; (see attached images)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I discovered that the matching items use the dijitComboBoxHighlightMatch css class.&amp;nbsp; I added the following to my css file:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;.dijitMenuItem .dijitComboBoxHighlightMatch&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; color: Red;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Firefox/Chrome, the matching text now shows up red.&amp;nbsp; IE appears to completely ignore this class.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Perhaps I am just missing something, so I thought I'd post this and see if any Dojo experts out there might have an idea where I am going wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code is pretty straight forward and is pretty much pulled out of a different app that does work.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;div dojoType="dojo.data.ItemFileReadStore" jsID="streetNames" url="streetnames.txt" &amp;gt;&amp;lt;/div&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;input type="text" style="width: 95%;" id="txtStreetName" dojoType="dijit.form.ComboBox" store="streetNames" searchAttr="LMSNAM" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jonathan&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 15:55:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-combobox-problem/m-p/41306#M3539</guid>
      <dc:creator>JonathanKressin</dc:creator>
      <dc:date>2013-02-05T15:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Dojo ComboBox Problem</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-combobox-problem/m-p/41307#M3540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same problem and have just started looking into it today.&amp;nbsp; It's interesting though, if you look at this dojo sample, it does not happen - &lt;/SPAN&gt;&lt;A href="http://dojotoolkit.org/documentation/tutorials/1.8/selects_using_stores/demo/ProgComboBox.php"&gt;http://dojotoolkit.org/documentation/tutorials/1.8/selects_using_stores/demo/ProgComboBox.php&lt;/A&gt;&lt;SPAN&gt;.&amp;nbsp; This sample is dojo 1.8.3, so maybe it has been corrected more recently since the arcgis js api for 3.3 says it is using dojo 1.8.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 16:23:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/dojo-combobox-problem/m-p/41307#M3540</guid>
      <dc:creator>GaryBilotta</dc:creator>
      <dc:date>2013-02-06T16:23:14Z</dc:date>
    </item>
  </channel>
</rss>

