Skip to main content

Timeline for Angular 2 get Input element value

Current License: CC BY-SA 3.0

9 events
when toggle format what by license comment
Mar 16, 2017 at 8:33 comment added Anivaishu Now i remove check the condition of *ngIf="chat.date".still get same err
Mar 16, 2017 at 7:42 comment added Mubashir may be *ngIf is causing problem in your code. have you tried it on simple input tag without inside ngIf ?
Mar 16, 2017 at 7:40 history edited Mubashir CC BY-SA 3.0
deleted 42 characters in body
Mar 16, 2017 at 6:53 comment added Anivaishu Still i get this same error Cannot read property 'changes' of undefined.otherwise i used <p style="font-size:9px;" id="amount" #amount>User name</p> How can i access this value.any other way to get input element value.Kindly help me.
Mar 16, 2017 at 6:48 comment added Mubashir remove type 'hidden' with 'text' in input tag
Mar 16, 2017 at 6:26 comment added Anivaishu I use also this.input.changes.Still get the same error
Mar 16, 2017 at 6:18 comment added eko I think Mubashir meant to write this.input.changes..
Mar 16, 2017 at 6:05 comment added Anivaishu Thanks for ur reply.I use this code. i am getting following error Cannot read property 'changes' of undefined
Mar 16, 2017 at 6:01 history answered Mubashir CC BY-SA 3.0