title: Ember - How to pass selected option value as parameter to action handler
body: <p>I am new to ember. Can anyone help me how to pass selected value as parameter to action handler 'onSelectEntityType'. I have tried the following and I am able to trigger the action. </p>
  
  <pre><code>&lt;select class="form-control" id="entityType" {{action 'onSelectEntityType' on='change'}} &gt;
      &lt;option value=""&gt;Select&lt;/option&gt;
      {{#each model as |entityType|}}
      &lt;option value="{{entityType.id}}"&gt;{{entityType.entityTypeName}}&lt;/option&gt;
      {{/each}}
  &lt;/select&gt;
  </code></pre>
  
  <p><strong>Component js file</strong></p>
  
  <pre><code>import Ember from 'ember';
  
  export default Ember.Component.extend({
      actions: {
        onSelectEntityType(value) {
           console.log(value)
        }
      }
  });
  </code></pre>