-
Notifications
You must be signed in to change notification settings - Fork 44
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
two-way binding paper-input #49
Comments
Hi! Tried reproducing with <label>{{model.foobar | json}}</label>
<input type="text" [value]="model.foobar" (input)="model.foobar=$event.target.value">
<paper-input [(value)]="model.foobar"></paper-input> And everything seems to update like it should. Have you remembered to add If still not working, could provide a full example where the problem occurs? Thanks! |
Same problem: This one is working [value]="model.foobar" (input)="model.foobar=$event.target.value" but not:
Stacktrace for [(ngModel)], seems to be related #41: Angular : 2.0.0-rc.4 |
I put the directive @Saulis Why can't I just put it on the parent component like other directives? |
@brOOper : Do you have two way data binding with:
|
Is it that you are using the Angular’s New Forms module? If so, this should be fixed by #55. Please try again with the master version of |
It seems that the newer versions of Angular2 are incompatible with the |
As long as I add the
|
this don't works
|
The two way databinding does seem to work only in one direction. The value gets set on the paper-input but when changing, the model field (
customer.firstname
in this case) is not being updated.(Version v1.0.0-beta2)
The text was updated successfully, but these errors were encountered: