I've been trying to bind a location value to a "note" (as in the na-notes example in codelabs) via firebase. I'm using the paper-input-place, but have tried with several other elements to no avail. So far, this is what I have (corresponding to the na-note.html document):
<paper-input-place is="iron-input" bind-value="{{address}}" value="{{address}}" label="Address" api-key="key">
And then I have this on my na-editor.html:
<na-note id="note" title="{{note.title}}" location="{{note.place_id}}" price="{{note.price}}" rooms="{{note.rooms}}" beds="{{note.beds}}" baths="{{note.baths}}" editable></na-note>
I am thinking that it probably is a silly mistake, but I've been going at it for two days and I'm starting to loose my patience, so any help would be appreciated!
Thanks!
at above
na-noteelement,noteis an object retrieved from firebase. so, to this path, you will need to save location data of the note. So, when you received the proper data frompaper-input-placeelement, you will need to save it to the note's path as a location. So, first retrive the address:...
Asuming just abobe
noteobject (at set operation) isfirebase-document's two way binding retrived data that you just editing.