<p dir="auto">this applies to v0.14.0-rc2</p>
<p dir="auto">OnChange event does not pass menuItem anymore. Based on documentation it should be</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="onChange function(event, selectedIndex, menuItem)"><pre class="notranslate"><span class="pl-en">onChange</span> <span class="pl-s1">function</span><span class="pl-kos">(</span><span class="pl-s1">event</span><span class="pl-kos">,</span> <span class="pl-s1">selectedIndex</span><span class="pl-kos">,</span> <span class="pl-s1">menuItem</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">Instead, what is happening now is</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="onChange function(event, selectedIndex, selectedIndex)"><pre class="notranslate"><span class="pl-en">onChange</span> <span class="pl-s1">function</span><span class="pl-kos">(</span><span class="pl-s1">event</span><span class="pl-kos">,</span> <span class="pl-s1">selectedIndex</span><span class="pl-kos">,</span> <span class="pl-s1">selectedIndex</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">Both 2nd and 3rd parameters are selectedIndex, menuItem never get passed along. Please fix.</p>
<p dir="auto">Also I use extra properties in menuItem of pass data, so please retain everything in menuItem.<br>
e.g. I use menuItem as</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="    let menuItems = [
    { id: 'myid', payload: '1', text: 'Never' },
    { id: 'myid', payload: '2', text: 'Every Night' },
    ];"><pre class="notranslate">    <span class="pl-k">let</span> <span class="pl-s1">menuItems</span> <span class="pl-c1">=</span> <span class="pl-kos">[</span>
    <span class="pl-kos">{</span> <span class="pl-c1">id</span>: <span class="pl-s">'myid'</span><span class="pl-kos">,</span> <span class="pl-c1">payload</span>: <span class="pl-s">'1'</span><span class="pl-kos">,</span> <span class="pl-c1">text</span>: <span class="pl-s">'Never'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-kos">{</span> <span class="pl-c1">id</span>: <span class="pl-s">'myid'</span><span class="pl-kos">,</span> <span class="pl-c1">payload</span>: <span class="pl-s">'2'</span><span class="pl-kos">,</span> <span class="pl-c1">text</span>: <span class="pl-s">'Every Night'</span> <span class="pl-kos">}</span><span class="pl-kos">,</span>
    <span class="pl-kos">]</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">I upgraded react and material-ui to the 0.14-rc2<br>
and Dropdown menu params seem to have changed<br>
I wouldn't think a change like this would slip through react itself</p>
<p dir="auto">Package: react@0.14.3<br>
Maintainers: mdg<br>
Git: <a href="https://github.com/meteor/react-packages">https://github.com/meteor/react-packages</a><br>
Implies: jsx, react-meteor-data, react-runtime</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="        &lt;DropDownMenu
          hintText='topic'
          selectedIndex={topicMenuIndex}
          onChange={this.setTopicFilter}
          menuItems={this.data.topics}
          desktop={true}
        /&gt;"><pre class="notranslate"><code class="notranslate">        &lt;DropDownMenu
          hintText='topic'
          selectedIndex={topicMenuIndex}
          onChange={this.setTopicFilter}
          menuItems={this.data.topics}
          desktop={true}
        /&gt;
</code></pre></div>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="setTopicFilter(event, selectedIndex, menuItem) "><pre class="notranslate"><code class="notranslate">setTopicFilter(event, selectedIndex, menuItem) 
</code></pre></div>
<p dir="auto">previously the 3rd param was the text of the menuItem but now I'm getting the selectedIndex twice.<br>
could this be related to the Menu composability refactoring?</p>