Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't add anything to Cloud Firestore from console

I've searched all the internet, but found no similar resolved issues.

So, I'm playing around with Cloud Firestore and my issue is simply that I can't add anything to Firestore from console, I click on "Add collection", enter name, then generate random id for new document, and add a single string to it. After clicking "Save", nothing is added and screen still says "No data at this location yet". I tried reloading, logging off and in again, adding only empty collection, etc. Anyone knows what could be wrong? Maybe that's some bug because Firestore is in beta?

like image 351
Vykintazo Avatar asked Mar 24 '18 17:03

Vykintazo


People also ask

How do I add a field to a firestore document?

Build a DocumentReference to the document you want to update, then use the update() method on the DocumentReference to indicate only the fields to be added or changed. Pass it an object with only properties that match the fields to add or change.


1 Answers

I was facing the similar issue, after a lot of research, I found out that there is an issue with chrome browser. Just open the same console with firefox browser, you will be able to do all the operations :)

like image 89
Xavi Avatar answered Oct 11 '22 23:10

Xavi