title: Enable button based on input - Angular/Typescript
body: <p>My button has to enable when I fill my input. Currently it keeps being disabled.</p>
  
  <p><strong>HTML button:</strong></p>
  
  <pre><code>&lt;button pButton type="button" class="buttonCSS" [disabled]="buttonDisabled" label="Boeken" id="button" (click)="on_Boek()"&gt;&lt;/button&gt;
  </code></pre>
  
  <p><strong>HTML input</strong></p>
  
  <pre><code>&lt;input type="text" [(ngModel)]="sBoekOmschrijving" (onchange)="on_ChangeInput()" pInputText/&gt;
  </code></pre>
  
  <p><strong>TypeScript function</strong></p>
  
  <pre><code>on_ChangeInput()
  {
   this.buttonDisabled = false 
  }
  </code></pre>
  
  <p><strong>Typescript button disabled always true</strong></p>
  
  <pre><code>buttonDisabled = true
  </code></pre>
  
  <p>Most likely a stupid question.. but I really can't figure it out.. thanks anyway. I am not allowed to use Jquery.</p>