Having trouble incorporating an *ngIf else with two large <div>
elements, as the content seems overwhelming to organize properly while following the documentation.
Initially believed that using the same styling for two open text boxes, with one hidden and the other visible, would keep them in the same position, but that turned out not to be the case.
Below are the <div>
structures of the two elements:
<!--open text box if language control is true-->
<div class="col-sm-12 col-md-4" [style.visibility]="showLanguageControl === true ? 'visible' : 'hidden'">
<label class="col-sm-3 col-md-5" for="providerRoute">Linked Language Letter</label>
<div class="col-sm-5 col-md-7 padding-adj">
<input type="text" id="linkedLetter" name="linkedLetter" #linkedLetter formControlName="linkedLetter" [ngClass]="['form-control','input-xs']" />
</div>
</div>
<!--open text box if exception group is true-->
<div class="col-sm-12 col-md-4" [style.visibility]="showFaxNumberInput === true ? 'visible' : 'hidden'">
<label class="col-sm-3 col-md-5" for="providerRoute">Fax Number</label>
<div class="col-sm-5 col-md-7 padding-adj">
<input type="text" id="faxInput" name="faxInput" #faxInput formControlName="faxInput" [ngClass]="['form-control','input-xs']" />
</div>
</div>