Search code examples
google-cloud-firestorefirebase-console

can any one tell why this save button is not enable after entering the document data?


I am working on Firebase and I am a beginner in Firebase. I want to use Firebase a back end service as well as store the data with react Js.I created the project.I select the Firestore database and create the collection. I come to the document window where I enter the field name and value of the field.But why after entering the value and field the save button is not enabled ?enter image description here


Solution

  • You are getting that behavior because you didn't assign an ID to the document you want to create. To solve this, simply press "Auto-ID" or type any ID of your choice and the "save" button will be enabled.