2 way data binding not working
See original GitHub issueI’m expecting 2 way data binding to work similar to polymer templates but I can’t get it to work.
For example using a <paper-toggle-button checked="${toggled}">
only works in one direction (reading, but not writing).
I have also tried <paper-toggle-button checked="[[${toggled}]]">
and <paper-toggle-button checked="[[toggled]]">
Issue Analytics
- State:
- Created 6 years ago
- Reactions:2
- Comments:16 (11 by maintainers)
Top Results From Across the Web
angular - @Input: Two way data binding not working
For two-way-binding using the [(xxx)] (banana-in-a-box) syntax, you need an @Input() and an @Output() with matching names like: @Input() myProp:String ...
Read more >Two-way binding - Angular
For two-way data binding to work, the @Output() property must use the pattern, inputChange , where input is the name of the @Input()...
Read more >Two-way data binding - Android Developers
Using one-way data binding, you can set a value on an attribute and set a ... Two-way data binding provides a shortcut to...
Read more >Angular Basics: Data Binding Part 8—Two-Way Data Binding
Data binding can be confusing when you're getting started in Angular. Let's break it down! This post covers two-way data binding.
Read more >Two way Data Binding in Angular 8 - Javatpoint
To resolve this problem, Angular provides two-way data binding. The two-way binding has a feature to update data from component to view and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Welcome to 2018, everyone is writing his own
lit-element
implementation 😀@web-padawan Could you please explain what’s wrong with two-way data binding (upward data flow)? Two-way data binding was (is) my favorite feature of Polymer. What are the advantages of unidirectional data flow?