Reputation: 1
So this is company code and I will not be able to provide snipet.
There is a .cshtml file and a controller js file for the corresponding.
We have a popup opening whenever we click on setting option
Let's focus on two fields on the popup Integrated Soluton and Enabling technology Both the fields can be populated after searching in the field and this is taken care using combo box
Also ng-model is IntegratedSolution and EnablingTechnology for particulars.
In the pop-up there is also an option to retrieve data from salesforce
When we retrieve data from salesforce from controller we also get that following two data. I then assign the value coming from salesforce to the ng-model variables $scope.IntegratedSolution and $scope.EnablingTechnology.
Now the issue is when data is retrieved from salesforce the new values should replace the old values in the popup. Other fields are working fine. Only the two fields mentioned above are not getting populated on ui but when I console log the ng-model variable the new value is printed. Also when I save the popup and reopens new values are updated in ui. I'm suspecting issue might be because of use of combo box data are not binding properly
Can someone help
I tried debugging and printing the values in console it gets updated with new values. Only thr field ik UI is not getting updated but that too when I save the popup and reopens it it gets populated in UI also correct data gets saved in database
Upvotes: 0
Views: 19