Hi,
I am using AngularJS - v1.0.6. I want to bind the selected grid row data to
Textbox. I need to use Angular.copy method to move the selected item data
into another scope variable. For e.g. - $scope.model =
angular.copy($scope.selectedItems); I am applying $scope.model data to
textbox control dynamically. I have created directive to bind the data
dynamically with ng-model. For e.g. ( input.attr('ng-model', 'model["' +
d.id.toLowerCase() + '"]'); )
The data is not reflecting in textbox. If I use Label then data is
reflecting in the control. I need to use textbox so that user can edit the
value. Here is a plunker link which has a sample
- http://plnkr.co/edit/948JfxAF8lbyq1xa3Fyu?p=preview
Thanks you,
-Devendra.
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.