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

Fix typeahead validity if model is set manually #3319

Closed

Conversation

andrenarchy
Copy link
Contributor

With this commit, the validity of a typeahead model is set to true if the model is set manually and the typehead directive is set to be non-editable.

Fixes #3318.

Thx to @jengeb for investigating the issue with me in a nightly hacking session. 😃

@karianna
Copy link
Contributor

Test(s) please :-)

@andrenarchy
Copy link
Contributor Author

Shall I add a non-regression test with the (stripped-down) example that @jengeb provided?

@karianna
Copy link
Contributor

Yes please.

With this commit, the validity of a typeahead model is set to true if
the model is set manually and the typehead directive is set to be
non-editable.
@andrenarchy andrenarchy force-pushed the fix-typeahead-validity branch from 03847ce to e111db7 Compare February 20, 2015 13:26
@andrenarchy
Copy link
Contributor Author

Test is added and runs smoothly on travis.

@karianna
Copy link
Contributor

Thanks!

@andrenarchy
Copy link
Contributor Author

Any updates?

@karianna karianna added this to the 0.13.0 milestone Mar 3, 2015
@chrisirhc
Copy link
Contributor

Looks good to me. Will merge soon.

@wesleycho
Copy link
Contributor

Landed as b004443, thanks!

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

Successfully merging this pull request may close these issues.

typeahead invalid if model is set manually
4 participants