Skip to content
Advertisement

Tag: google-cloud-firestore

Showing a forEach in HTML Element

Im fetching a group of documents in a forEach from Firestore, I know im fetching this all as I can see documents and is fields in the console. But when I add the id to the field fetched it only shows one document. (it should be 5 tiles and images but I can only see one) From reading I know

Trying to compare a string value from database(firestore) to a inputted string from a text field. im using vue framework

ignore all the commented out console logs, anyways, i tried setting both to a variable, i tried doing it by straight comparing this.username to the one in database. its getting the username from the database correctly, ive console logged it and it worked fine, outputted all the usernames from database. however at the if statement, it will not compare them

How to fix a this react filter?

I have created a database in firebase and I have fetch it in react, that is working correctly, but I want to include a search bar to filter the elements, my problem is that when I search for an element everything works but when I delete the text from the search input the elements do not appear again. Answer You

Advertisement