Re: [AngularJS] How to get values from ng-model array into input

2014-03-20 Thread Luke Kende
The fact that the input has name=Tags is irrelevant. selected_item.Tags existed in his object as an array, like, $scope.selected_item = { Tags: [ 'tag1', 'tag2', ... and so on ] } hence selected_item.Tags points to the array On Wednesday, March 19, 2014 7:10:50 AM UTC-6, Michel Morelli

Re: [AngularJS] How to get values from ng-model array into input

2014-03-19 Thread Ziobudda
Il giorno 19/mar/2014, alle ore 06:29, Luke Kende luke.ke...@gmail.com ha scritto: Ok, so you've got selected_item bound to ng-model and it is an object with a property of Tags that points to an array. Instead of trying interpolation on the value attribute of the input, make the input use

[AngularJS] How to get values from ng-model array into input

2014-03-18 Thread Maksim Go
Hello, I need help with getting values from array into comma separated list. I have select tag: select ng-model=selected_item name=select id=gallery_list ng-options=v as v.Title for (k, v) in Items/select now if I need to get selected items tags with {{selected_item.Tags}} it gives me an