[AngularJS] Re: NG2: default Option for Select dropdown...

2016-08-13 Thread p. stephen w
mmmseems to work in the Plunkr, but not on my machine. -- 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 angular+unsubscr...@googlegroups.com. To post to this

[AngularJS] NG2: default Option for Select dropdown...

2016-08-13 Thread p. stephen w
Inspecting the HTML you can see it has 'selected' set to true, but no option text is displayed; it just empty. Once you click on the drop down you can see all the options, but I want the first option to be visible by default. {{a.text}} Plunkr

[AngularJS] ng2: true value for inputs...

2016-08-13 Thread p. stephen w
NG1 had ng-true, which allowed you set a text strings on the model when it was checked. Is there an NG2 equivalent? Plunkr -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from

Re: [AngularJS] NG2: dynamic input types, i.e: checkbox, radio, or text...

2016-08-13 Thread p. stephen w
Not sure why, but with that change, the model binding is lost. You can see this in the lack of out put in the {{diagnostics}} prop. with [type]="q.type" no model binding. with type="checkbox" model binding. any thoughts? __ p. stephen wille *Where

Re: [AngularJS] NG2: dynamic input types, i.e: checkbox, radio, or text...

2016-08-13 Thread p. stephen w
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 < angular@googlegroups.com> wrote: > Sorry... Those should be square brackets, I think. >

Re: [AngularJS] NG2: dynamic input types, i.e: checkbox, radio, or text...

2016-08-13 Thread 'Lucas Lacroix' via AngularJS
Sorry... Those should be square brackets, I think. On Sat, Aug 13, 2016, 16:07 Lucas Lacroix wrote: > Did you try using a binding? > (type)="q.type" > > On Sat, Aug 13, 2016, 15:50 p. stephen w wrote: > >> I can't dynamically set the input type,

Re: [AngularJS] NG2: dynamic input types, i.e: checkbox, radio, or text...

2016-08-13 Thread 'Lucas Lacroix' via AngularJS
Did you try using a binding? (type)="q.type" On Sat, Aug 13, 2016, 15:50 p. stephen w wrote: > I can't dynamically set the input type, like so... > [(ngModel)]="ng2Form[q.id +'_'+ a.id]" > name="q.id" > value="a.score"/> > > Per thforis

[AngularJS] NG2: dynamic input types, i.e: checkbox, radio, or text...

2016-08-13 Thread p. stephen w
I can't dynamically set the input type, like so... Per thforis Plunker 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?

[AngularJS] Re: NG2: template ref errors out on missing ngModel directive...

2016-08-13 Thread p. stephen w
My local sandbox is running Forms@0.2.0, and the error persisted. It seems upgrading Typescript did the trick. From: ^1.8.10 To: 1.9.0-dev.20160409 -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving

[AngularJS] Re: NG2: template ref errors out on missing ngModel directive...

2016-08-13 Thread p. stephen w
Seems upgrading ngForms to v.0.2.0 solves the problem. https://plnkr.co/edit/iXEKPDIkbJQPSSs4Ksxv?p=preview On Saturday, August 13, 2016 at 9:30:56 AM UTC-7, p. stephen w wrote: > > > Seems adding the #lname template ref is the problem. > > > name="lname" id="lname" >

[AngularJS] NG2: template ref errors out on missing ngModel directive...

2016-08-13 Thread p. stephen w
Seems adding the #lname template ref is the problem. ...otherwise, the form works as expected. Plunk: read the errors in the console. Console error message: There is no directive with "exportAs" set to "ngModel" [ERROR ->]#lname="ngModel" Enter

[AngularJS] Angular 2 and ASP.NET Core / Visual Studio 2015

2016-08-13 Thread Eric Blankenburg
I'm looking for information on how to configure Anguar 2 (RC5 or RC4) wit ASP.NET Core. I found about a half dozen articles, but none of them actually work. Can anyone point me in the right direction? -- You received this message because you are subscribed to the Google Groups "AngularJS"

[AngularJS] Getting “Runtime.executionContextCreated has invalid 'context” error when i run Protractor

2016-08-13 Thread Balaji Singh .Y
Hi All, I am getting this below Error while i run my protractor. And below is the error as shown in my webstorm console. Can somebody help me on this below issue. "C:\Program Files (x86)\JetBrains\WebStorm 2016.2\bin\runnerw.exe" "C:\Program Files\nodejs\node.exe"