Editable input (WIP)
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 hall5714/angular-ui-bootstrap@882d0884d473df2ce3c4e35dc954cc067ca2aeea.
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).
Closing this for now, wasn't aware that ngModel could take a $parent scope to avoid breaking the filter chain. Will write tests and PR my changes in a day or two.