Questions tagged [two-way-binding]
351 questions
0
votes
1 answer
textarea two way binding not working with ng-model
i am facing a weird issue with angular js.
I am using a textarea and have a default value for that. But when i change the value in the textarea manually its not being updated in my controller.
Also the other scope is not being binded into the…

ronit
- 318
- 1
- 2
- 18
0
votes
1 answer
angular 2 - radio button two way binding, get values in a hidden element
Plunker link
I am loading form from JSON.
I need help on below issue.
Issue : On click of save button i need to get the radio button values either true or false
but now i am getting both radio button values as 'true in console'
Users can click both…

Manjunath Siddappa
- 2,126
- 2
- 21
- 40
0
votes
3 answers
Two-way binding is lost after setting a select box
I have 2 select boxes, and setting either one should set the second one to 0.
HTML
0
votes
1 answer
mdtable datasource changes doesn't update de view
I have a Mdtable like this:
https://plnkr.co/edit/a9JKUnVxeYwjNeH067qZ?p=preview
When I make change to dataSource, for example, slice to list. Object changes, but view doesn't update.
In my real code, I solved this issue emtying the datasource…

Miguel Navas
- 119
- 1
- 2
- 10
0
votes
1 answer
Angular Component two way binding not working
My component code:
(function () {
'use strict';
function SubscribeController(toaster, EmbHTTPFactory) {
var ctrl = this;
ctrl.submit = function () {
EmbHTTPFactory.subscribeToNewsletter(ctrl.email).then(function (res) {
…

Sunil Jhamnani
- 33
- 1
- 6
0
votes
0 answers
*ngFor Two-Way Data Binding - Angular
I have a BoardComponent with several nested BoardColumnComponent:

J. Pichardo
- 3,077
- 21
- 37
0
votes
1 answer
Two-way binding doesn't work
I'm trying to learn Angular and Angular-CLI. So I created a project with Angular-CLI, which from the beginning seems to run just fine. Now for testing I changed app.component.html file to the following:
Input your name:

Igal
- 5,833
- 20
- 74
- 132
0
votes
1 answer
Android two way data binding for custom component?
I'm trying to follow this blog post to try and get two way data binding to work for a custom component (A constraint view with an EditText in it).
I'm able to get two standard EditText components to be in sync (both ways) with my model, but I'm…

indGov
- 250
- 3
- 10
0
votes
0 answers
Angular 4 view is not updating when model is changed
I have an Angular 4 component that retrieves data from a service and then updates a view. When my service retrieves the data and updates the component's property, the property does not update in the UI. I have tried using the NgZone and…

Mike
- 1,718
- 3
- 30
- 58
0
votes
2 answers
ngModel not working in two different components?
The title is pretty self-explanatory, so - I put an input element in app.component.html file, this is the code:
Then i tried making an h1 element in another component, as…

Raptrozz
- 3
- 5
0
votes
1 answer
Two-way binding with RxJava on Android
Recently I've been developing some functionality and it seems to me that it would be nicely modeled with some form of two-way binding.
Example: there's a screen where user can fill some forms and save some content. Later user can come back to that…

charlag
- 1,020
- 12
- 20
0
votes
0 answers
Two way binding of a static property of static class
Is there any GOOD way to bind a static property of static class in a two way mode?
Here is an example class:
static class SettingsModel
{
static public string ModelFolder { set; get; }
}
And a text box:

Keltar Helviett
- 638
- 1
- 7
- 13
0
votes
1 answer
Two way binding for ng-click directive in angularjs
I have calling a function in two elements. when I triggering the function an on-click event then also it should be hit once more time for wherever I called that function.
//html

Ramesh Rajendran
- 37,412
- 45
- 153
- 234
0
votes
1 answer
Passing more data @input angular 2
How can we switch more than one component to another component? I need to use the "two way data binding".
I tried the following way:
export class…

Maurizio Rizzo
- 561
- 2
- 6
- 11
0
votes
0 answers
Ionic3 - After deeplinks, two-way-binding is not working ( Test code exist )
I have an issue with deeplinks which blocks angular's two-way-binding.
I made a test project in git. Please check here (This is a simple ionic default project. If you have already installed npm and ionic-cli, just run npm i, ionic cordova platform…

Téwa
- 1,184
- 2
- 13
- 19