how to get the ngModel value while loading dynamic form builder

29 views
Skip to first unread message

Akshath Kumar

unread,
Jan 5, 2015, 12:17:40 AM1/5/15
to ang...@googlegroups.com
Hi,

Am using angular-form-gen bower component for generating the dynamic form. While using this form builder how can i get the ngModel of each which is dynamically loaded. Actually markup code look like

<input type="text" ng-model="form.data[field.schema.name]" />

In above the ngModel is loaded dynamically. I need to get the ngModel to manipulate the element.So how could it possible. Is there anyone help me to get the solution for this.



Regards,

Akshath

Sander Elias

unread,
Jan 5, 2015, 1:51:36 AM1/5/15
to ang...@googlegroups.com
Hi Aksath,

You say you need ngModel, what do you mean, and where do you need it?
If you want to manipulate the element containing the ngModel directive you can write another directive requesting ngModel, and use that to manipulate it.

Regards
Sander 

Akshath Kumar

unread,
Jan 5, 2015, 5:04:49 AM1/5/15
to ang...@googlegroups.com
Hi Sander,

I think today is a good day for me at last i found the exact reason behind this issue. Thank you for your valid support and suggestion.



Thanks & Regards,

 

Akshath kumar M

Mob : +919567102617

 



baabte System Technologies Pvt Ltd.

An ISO 9001 : 2008 certified company

Office: + 91495-2295550 | Mob : +919539906339

www.baabte.com | www.baabtra.comwww.massbaab.com


--
You received this message because you are subscribed to a topic in the Google Groups "AngularJS" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/angular/Ccz5NvuE0OQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to angular+u...@googlegroups.com.
To post to this group, send email to ang...@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages