properties are hyphenated because html attributes are case insensitive you
need to use bank-info="{{checkingBankInfo}}" as per the documentation here:
https://www.polymer-project.org/2.0/docs/devguide/data-binding in "Anatomy
of a data binding"-Karl Tiedt On Thu, Jan 4, 2018 at 3:54 PM, Ankit Singhal <[email protected]> wrote: > Hi, > > I am very new to polymer and learning it. need your guidance as I develop > the application. I am struggling with data binding with in my components. > My requirement is very similar to Linking paths with data bindings. > > Parent element - > > > <template> > > <add-bank-account bankInfo="*{{*checkingBankInfo*}}*" id > ="bankAccountDisplay"></add-bank-account> > > </div> > > </template> > > I have a custom element add-bank-account.html which is a child having > three property > > <template> > > > <paper-input label="Name" placeholder="" value="*{{*bankInfo.nameOnAccount > *}}*"></paper-input> > > > <paper-input label="Rtn" placeholder="" value="*{{*bankInfo.routingNumber > *}}*" ></paper-input> > > > <paper-input label="Acct" placeholder="" value="*{{*bankInfo.accountNumber > *}}*"></paper-input> > > > </template> > > > Changes in add-bank-account are not getting observed in checkingBankInfo > object of add-checking-account component. > > > I am expecting that as I have done 2 way binding so any changes to > property of bankInfo should be observed inside checkingBankInfo property > of Parent component. > > > thanks for your help. > > > > Follow Polymer on Google+: plus.google.com/107187849809354688692 > --- > You received this message because you are subscribed to the Google Groups > "Polymer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit https://groups.google.com/d/ > msgid/polymer-dev/6feee57b-7b67-4f1d-8dc3-93c679ce12a8%40googlegroups.com > <https://groups.google.com/d/msgid/polymer-dev/6feee57b-7b67-4f1d-8dc3-93c679ce12a8%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > Follow Polymer on Google+: plus.google.com/107187849809354688692 --- You received this message because you are subscribed to the Google Groups "Polymer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/CADNgbTFtby7QxZ8bApxmqsm8WsY%2Bx3apA3gQZhoNxFogCD3u5g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
