I have designed a dashboard page in my Angular application with navigation links (home, about, report, profile) using Bootstrap. The dropdown menu for the Report and Profile links has a hover effect created with Bootstrap. However, the data for the hover effect only appears when the page is refreshed in Angular.
.component.html
<li class="nav-item dropdown dmenu">
<a routerLink="{{router.url}}" class="nav-link dropdown-toggle" href="#" id="col" data-toggle="dropdown"><i class="fa fa-flag"></i> Report</a>
<div class="dropdown-menu sm-menu" style="width: 340px;">
<form name="forms">
<label style="margin-left: 5px;">From date:</label><label style="margin-left: 97px;">To date:</label><br />
<input type="date" style="width: 150px; margin-left: 5px;" id="name" required ngModel name="name" #name="ngModel" />
<input type="date" style="width: 150px;" id="date02" required ngModel name="date02" #date02="ngModel" />
<select data-placeholder="Select..." multiple style="width: 150px; margin-left: 15px;">
<option value=""></option>
<option>Option 1</option>
<option>Option 2</option>
<option>Option 3</option>
<option>Option 4</option>
<option>Option 5</option>
<option>Option 6</option>
<option>Option 7</option>
<option>Option 8</option>
</select>
<br />
<br />
<button type="submit" class="btn btn-primary btn-center" style="margin-left: 130px;">Show Report</button>
</form>
</div>
</li>
Is there a way to display this data without needing to refresh the page? Your help would be greatly appreciated.