Skip to content
This repository was archived by the owner on Mar 13, 2018. It is now read-only.
This repository was archived by the owner on Mar 13, 2018. It is now read-only.

Get a value from dynamic drop down menu to add to firebase database #81

@shep222

Description

@shep222

The dropdown menu will populate with the list, but when I try to push the value to firebase I get an error..."Cannot read property 'value' of undefined".

THE HTML:



[[dr.name]]

        </paper-listbox>
    </paper-dropdown-menu>

THE PUSH to firebase:
addPatient: function () {
this.$.patients.ref.push({
name: this.$.pxName.value,
aptTime: this.$.pxAptTime.value,
location: this.$.pxLocation.value,
provider: this.$.pxProvider.value <<<<<<<<<<<<< THIS IS WHATS NOT WORKING
})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions