hy!
i am creating an app in ionic with firebase...i have seen many taturials for CRUD and follow this method .....the problem is it only accept one value or argumant....plz tell me how can i add more fields in firebase database.
Add.html
Namecatagory
<button (click)="btnAddClicked()" ion-button>Add
Add.ts
export class AddcatagoryPage {
arrData = []
catagory
fname
constructor(public navCtrl: NavController, public navParams: NavParams, private fdb: AngularFireDatabase) {
hy! i am creating an app in ionic with firebase...i have seen many taturials for CRUD and follow this method .....the problem is it only accept one value or argumant....plz tell me how can i add more fields in firebase database.
Add.html
<button (click)="btnAddClicked()" ion-button>Add
Add.ts
export class AddcatagoryPage {
constructor(public navCtrl: NavController, public navParams: NavParams, private fdb: AngularFireDatabase) {
}
btnAddClicked(){ this.fdb.list("/myItems/").push(this.catagory); }
firebase