I've a list of items ... and I want to push some values with fields from textboxes and set some values with default Values on adding an Item
I always use this
addResturant(resturant: resturant) {
return this.resturants.push(resturant)
}
and the restaurant contains some details I want to
set(resturant.branches,'') also set(resturants.items,'')
where can I put them in the same method to be created on pressing on the btn save ?
