I am encountering a strange issue. I have an input field and I want to display a button only when the input field has a value. Strangely, it only works when I move the mouse.
<input class="form-control"
type="text"
placeholder="hello there..."
#helloInput
>
{{helloInput.value}} --> does not appear until mouse movement occurs
<button class="btn btn-success"
*ngIf="helloInput.value"
>Show me</button>
This behavior is quite perplexing. Any suggestions?