title: Angular 9: Disable label checkbox (not the box)
body: <p>I need it in order to make clickable just a piece of the checkbox label (Privacy Policy). This is the snippet:</p>
  
  <pre><code>    &lt;div&gt;
        &lt;mat-checkbox required formControlName="privacyCheck" [checked]="false"&gt;
          &lt;b style="color: crimson"&gt;*&lt;/b&gt;Accetto la
          &lt;i style="color: #770E0E" (click)="printDebug()"&gt;privacy policy&lt;/i&gt;
          e i termini di condizione dell'utilizzo del servizio.
        &lt;/mat-checkbox&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p>At the moment, if i click on the italic text ("privacy policy"), i got the printDebug but of course the checkbox will be setted to "checked".</p>
  
  <p>I tried several solutions using CSS property <code>pointer-events: none !important;</code> on <code>.mat-checkbox-layout .mat-checkbox-label span</code>, <code>.mat-checkbox-layout .mat-checkbox-label</code>, and so on.</p>
  
  <hr>
  
  <p><a href="https://i.stack.imgur.com/QI1mx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QI1mx.png" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/rJBG8.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rJBG8.png" alt="enter image description here"></a></p>