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.

Editable input (WIP) #775

@hallister

Description

@hallister

I'm currently working on an editable input (inline text that turns into a form field when clicked on) but have run into a bind. The code is complete (although, without tests) at hallister/angular-ui-bootstrap@882d088.

The big issue here is that the editable has to have an isolate scope (form validation requires compiling against the scope, and we don't want to be doing that in a controller scope!) and update the model. Doing it this way (=ngModel) breaks the two-way bindings (watchers on primitives, filters etc). So a few questions:

Is there any interest in this (from anyone, but ideally the core developers)?

Would this directive still be considered useful given the caveat above?

Of course, if anyone has a suggestion for the issue above please let me know! I can't PR this now since tests aren't written, I just wanted to feedback before I invest anymore time into it (in my use case, the caveat is fine).

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