<label [invalid]="false" invalidText="" placeholder="Placeholder text">
Middle names (optional)
<input ibmText [attr.disabled]="isApplicationLocked" [invalid]="false" placeholder=""
(keyup)="applicantControlValueChanged()" formControlName="PersonMiddleName">
<label>
I have a boolean variable called "isApplicationLocked" in my Angular project written in TypeScript. When the value of this boolean is true, it disables the text box and prevents the user from editing its content. However, I've noticed that not all elements of the text box are visually affected by this change - the border and label remain black. How can I dynamically alter the color of all components within the text box based on the value of this variable?
Additionally, I am using SCSS for styling purposes.