Skip to content
This repository was archived by the owner on May 29, 2019. It is now read-only.
This repository was archived by the owner on May 29, 2019. It is now read-only.

dynamic toolip text - tooltip not removed when you clear the value while tooltip is visible and vice versa #559

Closed
@fxck

Description

@fxck

Let's say I have an input

<input ng-model="url" tooltip="{{ form.url.$valid | returnOnlyWhenFalse }}" name="url" type="url" />

now if I focus the input and start typing, ideally I would like the tooltip to appear when $valid becames false which is not going to happen unless I mouseleave and mouseenter again..

and the problem is the other way around as well, if I mousenter and $valid is false, tooltip's gonna be visible, if $valid becames true, tooltip's not gonna dissappear, it's just gonna get its text removed

you can see this behaviour here http://angular-ui.github.io/bootstrap/#/tooltip focus the dynamic input and the mouseover the dynamic tooltip

any idea how can I "hotfix" this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions