Edit in angular 4


I am working on Angular 4 project. Here I want to update the form data using firebase key

I have pass the data through component.ts as follow


I called editEnquiry() of service. the editEnquiry() is given as follows

editEnquiry(data) { console.log(data); console.log(data.key); this.af.list(`/enquirydata/`+key).update(data); }

I am getting the data in editEnquiry() but its not updating the record in firebase. Its giving me error like this

Supplied parameters do not match any signature of call target.

any help?


If you updating the data then you need to use -


please try below solution hope it helps -

editEnquiry(data) { console.log(data); console.log(data.key); this.af.object(`/enquirydata/`+key).update(data); }


we have to pass the key and the edited data and the edited function should be like this

editEnquiry(key,value) { console.log(key); console.log(value); this.af.object(`/enquirydata/`+ key).update(value); }

It worked for me


  • ITextsharp to edit existing pdf
  • App Fog Rails Migrate Database
  • function for writing out a base 7 word, like binary counter style
  • Angular2 & SystemJS : Cannot find module while building a moduleLoader
  • Simple Distributed Erlang
  • What does the TypeScript “lib” option really do?
  • Create function that can pass a parameter without making a new component
  • Dynamically load css stylesheet and wait for it to load
  • Access object instance inside an event handler
  • C++ Single function pointer for all template instances
  • Cannot save model when using ember render helper
  • Can I have a variable number of URI parameters or key-value pairs in Laravel 4?
  • php script is parsing content from RTE (tt_news) but internal links are not appearing as speaking ur
  • get iframe content as string
  • Retrieve IP address of device
  • CERN ROOT exporting data to plain text
  • Conversion from string “a” to type 'Boolean' is not valid
  • D3 get axis values on zoom event
  • Specifying Castle WCF Integration Facility Endpoint Behavior per Endpoint
  • Detect when Facebook like button is clicked
  • Needing to do .toArray() to get output of mongodb .find() on key name not value
  • Make VS2015 use angular-cli ng at build time in a .NET project
  • Test if a set exists before trying to drop it
  • Django: Count of Group Elements
  • Is there a amazon webstore API for customers?
  • Can a Chrome extension content script make an jQuery AJAX request for an html file that is itself a
  • Upload files with Ajax and Jquery
  • Why winpcap requires both .lib and .dll to run?
  • How to pass list parameters for each object using Spring MVC?
  • Circular dependency while pushing http interceptor
  • AngularJs get employee from factory
  • Proper way to use connect-multiparty with express.js?
  • How to set the response of a form post action to a iframe source?
  • Angular 2 constructor injection vs direct access
  • Turn off referential integrity in Derby? is it possible?
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • Add sale price programmatically to product variations
  • unknown Exception android
  • Unable to use reactive element in my shiny app
  • How do I use LINQ to get all the Items that have a particular SubItem?