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

$eval instead of $parse on typeaheadAppendToBody #1656

Closed
wants to merge 1 commit into from

Conversation

jbthoma
Copy link

@jbthoma jbthoma commented Jan 23, 2014

Using $parse doesn't evaluate the attribute correctly. Changed it to originalScope.$eval.

Using $parse doesn't evaluate the attribute correctly.  Changed it to originalScope.$eval.
@pkozlowski-opensource
Copy link
Member

@jbthoma I'm not sure what is the issue you are trying to solve with this pull request. If there is a bug that needs fixing we will need a test that exposes this bug. Could you please add a test or - as a very minimum - a plunker that demonstrates the issue?

@jbthoma
Copy link
Author

jbthoma commented Jan 23, 2014

Basically the bug I was trying to resolve is if you set typeahead-append-to-body='false', it still appends to the body. I'm not sure how to write the test for it though.

@bekos
Copy link
Contributor

bekos commented Jan 23, 2014

@jbthoma Take a look at the datepicker append-to-body. There is a test for this.

@pkozlowski-opensource
Copy link
Member

OK, I can confirm there is a bug in here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants