title: Handlebars - Pass variable into a dot notation
body: <p>I'm trying to reuse a partial called <code>rater-table.hbs</code> which looks like this </p>
  
  <pre><code> &lt;div class="comparison-rater-container"&gt;
    {{&gt; rater-table header="Key Stakeholder" valueType=KeyStakeholder}}
    {{&gt; rater-table header="Group 1" valueType=Group1}}
    {{&gt; rater-table header="Group 2" valueType=Group2}}
    {{&gt; rater-table header="Other Stakeholders" valueType=OtherStakeholders}}
  &lt;/div&gt;
  </code></pre>
  
  <p>In my other file I'm able to call the header variable just fine but I'm having trouble getting the valueType to fit the bracket notation. I'm trying to use it like this</p>
  
  <pre><code>{{ ../pole.summary.benefits.[(valueType)] }}
  </code></pre>
  
  <p>If I hard code the word Group1, it works fine but otherwise it gives me a null value. Any way to get this working in handlebars?</p>