title: NG-Bootstrap - Dropdown - Select Value
body: <p>I'm using this code for the dropdown menu for my Electron App currently:</p>
  
  <pre><code> &lt;div class="row"&gt;
                      &lt;div class="col"&gt;
                          &lt;div ngbDropdown class="d-inline-block"&gt;
                              &lt;button class="btn btn-outline-primary" id="dropdownBasic1" ngbDropdownToggle&gt;Selected Value&lt;/button&gt;
                              &lt;div ngbDropdownMenu aria-labelledby="dropdownBasic1"&gt;
                                  &lt;button class="dropdown-item"&gt;Example A&lt;/button&gt;
                                  &lt;button class="dropdown-item"&gt;Example B&lt;/button&gt;
                                  &lt;button class="dropdown-item"&gt;Example C&lt;/button&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/div&gt;
  </code></pre>
  
  <p>I found it here:
  <a href="https://ng-bootstrap.github.io/#/components/dropdown/examples" rel="nofollow noreferrer">https://ng-bootstrap.github.io/#/components/dropdown/examples</a></p>
  
  <p>What I want is, if I click on Example A, I want this to show as the Selected Value. So instead of "Selected Value" there is "Example A" then.</p>