<commit_before><link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/paper-dropdown-menu/paper-dropdown-menu.html">

<link rel="import" href="../components/entity/state-badge.html">

<dom-module id="state-card-input_select">
  <style>
  :host {
    display: block;
  }

  state-badge {
    float: left;
    margin-top: 10px;
  }

  paper-dropdown-menu {
    display: block;
    margin-left: 53px;
  }
  </style>

  <template>
    <state-badge state-obj='[[stateObj]]'></state-badge>
    <paper-dropdown-menu
      on-tap='stopPropagation'
      selected-item-label='[[selectedOption]]'
      label='[[stateObj.entityDisplay]]'>
      <paper-menu class="dropdown-content" selected="[[computeSelected(stateObj)]]">
        <template is='dom-repeat' items='[[stateObj.attributes.options]]'>
          <paper-item>[[item]]</paper-item>
        </template>
      </paper-menu>
    </paper-dropdown-menu>
  </template>
</dom-module>

<script>
Polymer({
  is: 'state-card-input_select',
<commit_msg>fix input_select state change (#67)<commit_after><link rel="import" href="../../bower_components/polymer/polymer.html">
<link rel="import" href="../../bower_components/paper-dropdown-menu/paper-dropdown-menu.html">

<link rel="import" href="../components/entity/state-badge.html">

<dom-module id="state-card-input_select">
  <style>
  :host {
    display: block;
  }

  state-badge {
    float: left;
    margin-top: 10px;
  }

  paper-dropdown-menu {
    display: block;
    margin-left: 53px;
  }
  </style>

  <template>
    <state-badge state-obj='[[stateObj]]'></state-badge>
    <paper-dropdown-menu
      on-tap='stopPropagation'
      selected-item-label='{{selectedOption}}'
      label='[[stateObj.entityDisplay]]'>
      <paper-menu class="dropdown-content" selected="[[computeSelected(stateObj)]]">
        <template is='dom-repeat' items='[[stateObj.attributes.options]]'>
          <paper-item>[[item]]</paper-item>
        </template>
      </paper-menu>
    </paper-dropdown-menu>
  </template>
</dom-module>

<script>
Polymer({
  is: 'state-card-input_select',

{'fraction_non_alphanumeric': 0.19241573033707865, 'fraction_numerical': 0.0046816479400749065, 'mean_word_length': 3.442827442827443, 'pattern_counts': {'":': 0, '<': 43, '<?xml version=': 0, '>': 43, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6263267', 'n_tokens_mistral': 731, 'n_tokens_neox': 708, 'n_words': 102}