FirebaseExtended / angularfire

AngularJS bindings for Firebase
MIT License
2.73k stars 632 forks source link

FirebaseObject $bindTo and Angular For #908

Closed d1b1 closed 7 years ago

d1b1 commented 7 years ago

Angular: 2.3.0

Firebase: 3.4.1

AngularFire: 1.4.7

I have a general question about the expected usage for firebaseObject.$bindTo. When I bind an object to a scope, and let the values change in the view view a input I get an error when the value is empty. If I edit the input and change the values from 'Foo' to ''. I get an undefined error.

Is it recommended usage to bind an object for use in a form? Is there a way to trap this error?

Thanks,

jwngr commented 7 years ago

This is a usage question, which is better suited for Stack Overflow or the Firebase Google Group. Can you please re-post on one of those forums and paste the link here? Please also remember to include version information and a code sample (if relevant) to help us resolve your issue.