title: How to get value of button onclick in list.item
body: <p>I can't get value of a button when onclick. When I console.log BikeID nothing happens and the button doesn't seem to know the value of the List.item. I am trying to get the button to understand what ID it is "connected" to.</p>
  
  <p>This is for a rental system, running MySQL and PHP. I've tried different buttons, inputs, and variations.</p>
  
  <p>...</p>
  
  <pre><code>&lt;List&gt;
  {this.bikes.map(bike =&gt; (
     &lt;List.Item key={bike.BikeID}&gt;
         {bike.BikeID} - {bike.Status} , {bike.Information}''
           &lt;Button.Success value={bike.BikeID} onClick={e =&gt;(this.BikeID = e.target.BikeID)} onChange={this.move}&gt; Move to Status 1 &lt;/Button.Success&gt;
            &lt;/List.Item&gt;
          ))}
        &lt;/List&gt;
  </code></pre>
  
  <p>...</p>
  
  <pre><code>move() {
    console.log(this.BikeID);
    bikeService.moveBike(this.BikeID, bikes =&gt; {
    this.bikes = bikes;
  });
    setTimeout(() =&gt; {}, 250);
  }
  </code></pre>
  
  <p>...</p>
  
  <p>Expected results is that the button can detect what List.Item (and which BikeID) it belongs to.</p>