Ah, right. That did work. Thanks kindly,
______________________________________ p. stephen wille *Where there's a Wille, there's a way.* On Sat, Aug 13, 2016 at 1:07 PM, 'Lucas Lacroix' via AngularJS < [email protected]> wrote: > Sorry... Those should be square brackets, I think. > > On Sat, Aug 13, 2016, 16:07 Lucas Lacroix <[email protected]> wrote: > >> Did you try using a binding? >> (type)="q.type" >> >> On Sat, Aug 13, 2016, 15:50 p. stephen w <[email protected]> >> wrote: >> >>> I can't dynamically set the input type, like so... >>> <input type="q.type" >>> [(ngModel)]="ng2Form[q.id +'_'+ a.id]" >>> name="q.id" >>> value="a.score"/> >>> >>> Per thforis Plunker >>> <https://plnkr.co/edit/GU3BXain0E581pTXijrN?p=preview> only statically >>> setting it to *checkbox* works. Is this by design, possibly due to >>> limitations of HTML Forms, or is this known issue with solutions soon to >>> come? >>> >>> -- >>> 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 https://groups.google.com/group/angular. >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- >> Lucas Lacroix >> Computer Scientist >> Advanced Technology Division, MEDITECH <http://ehr.meditech.com/> >> 781-774-2293 >> > -- > Lucas Lacroix > Computer Scientist > Advanced Technology Division, MEDITECH <http://ehr.meditech.com/> > 781-774-2293 > > -- > 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/6VFr_ZebNG0/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/angular. > For more options, visit https://groups.google.com/d/optout. > -- 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 https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
