dart-league/ng_bootstrap

Tooltip Appears Broken

Closed this issue · 0 comments

    <input #macInput
           type="text"
           [(ngModel)]="macAddress.address"
           *ngIf="isEditing"
           [myFocus]="isEditing"
           (blur)="onBlur()"
           (keyup.enter)="onEnterPressed()">
    <b>{{
    isEditing? "" : macAddress.address.length > 0 ? "MAC: " + macAddress.address : "ENTER MAC ADDRESS"
    }}</b>
    <bs-tooltip [for]="macInput"
                placement="left"
                trigger="mouseenter"
                [enable]="macAddress.address == null || macAddress.address == ''"
    >
        Please enter the MAC address you are interested in
    </bs-tooltip>

This is yielding an error in chromium NoSuchMethodError: method not found: 'get$macInput' (this.ctx.get$macInput is not a function)

Either documentation needs to be updated with correct usage or ng_bootstrap should be updated to accommodate documentation's instructions. Or I am doin' it wrong and if you'd kindly point out what that is, that'd be great!

Note: Using Dart 1.19 SDK and beta angular2 beta 22