Prevented text highlighting and switched to ngModel