I am currently facing an issue with two required inputs that need to be filled in order to enable the "Add" button functionality. I have considered using *ngIf to control the visibility of the button based on input values, but it seems to not be working. Can anyone point me in the right direction?
<input
#neueEintragBeschreibung
placeholder="Enter description"
class="lg-text-input"
/>
<input
#neuesEintragFaelligkeitsdatum
placeholder="Enter due date"
class="lg-text-input"
/>
<div *ngIf="neueEintragBeschreibung.value">
<button class="btn-primary" (click)="addEintrag(neueEintragBeschreibung.value, neuesEintragFaelligkeitsdatum.value)">
Add</button>
</div>