angularfire icon indicating copy to clipboard operation
angularfire copied to clipboard

Example App doesn't work

Open xeeeveee opened this issue 9 years ago • 1 comments

Version info

Angular: 4.2.4

Firebase: 4.5.0

AngularFire: 5.0.0-rc.1

How to reproduce these conditions

Steps to set up and reproduce Example App on https://github.com/angular/angularfire2/blob/master/docs/rtdb/lists.md makes use to old $key method, but does not use the updated code from the upgrade guide (5.0) to resolve the issues, resulting in the sample app not running.

$key arrives into the updateItem method as undefined

updateItem(key: string, newText: string) {
    this.itemsRef.update(key, { text: newText });
}

xeeeveee avatar Oct 09 '17 15:10 xeeeveee

This is a doc issue, I will address #1235

jamesdaniels avatar Oct 10 '17 00:10 jamesdaniels