Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better way to implement ngModel-compliant component #358

Closed
wants to merge 1 commit into from
Closed

better way to implement ngModel-compliant component #358

wants to merge 1 commit into from

Conversation

mkjeff
Copy link
Contributor

@mkjeff mkjeff commented Apr 1, 2016

fixed directive does not support model-driven form #298

@valorkin
Copy link
Member

@mkjeff hey, guys found that adding NgModel to providers list of components removes requirement of custom value accessors

can you please check, will it work for you?
If so it would be nice

@valorkin
Copy link
Member

does it make sense if ngControl will be deprecated?

@valorkin
Copy link
Member

Sorry for not merging it,
but now having @angular/forms
all became much easier

check this one: https://github.com/valor-software/ng2-bootstrap/blob/development/components/typeahead/typeahead.directive.ts#L176-L177

Thanks you so much for your time and help
please join slack: https://www.hamsterpad.com/chat/ng2

@valorkin valorkin closed this Jul 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants