This is caused by you trying to cram an entire list into a single cell in your Google Form.
There are two different ways to avoid this:
Send one Form to start the order and give it a unique timestamp ID, then send detail order item forms, one per food, telling how many of that food are in that order, and the subtotal cost for that food.
Extend your order sheet to the right with columns for every food in the menu, identifying the food in row 1, and listing the quantity requested (default 0) or cost in that column against each order row. That would allow you to send a single Google Form for the entire order, but it would be really long, as long as your menu.
I don't even know the basics of MIT so much. This was made by a tutorial for a school project which then turned into an app as it was the only coded one made. So, I hope you understand and tell me from the basics.
This is a lot more summarized. I hope you can give it in detail. Please don't be angry. I know this is awkward for someone to make an app without any knowledge. I know but this was just a school project turned into an app.
Let me suggest you to start learning some basics then...
A very good way to learn App Inventor is to read the free Inventor's Manual here in the AI2 free online eBook App Inventor 2 Book: Create Your Own Android Apps ... the links are at the bottom of the Web page. The book 'teaches' users how to program with AI2 blocks.
There is a free programming course here Course In A Box and the aia files for the projects in the book are here: App Inventor 2 Book: Create Your Own Android Apps
How to do a lot of basic things with App Inventor are described here: How do you...? .
Table lookup is when you look in a table to answer a question like "how much does this menu item cost?"
You are already doing this in asking TinyDB for a tag value, or when you use the list block Look up In Pairs or use the spreadsheet function =VLookup () or when you use an AI2 dictionary.
@SteveJG and @ABG I have tried whatever you told me but it doesn't work either. I hope you can try to help me with codes that would be a great help because I think there are only 2 places where this is happening because of which instead of 2 items 1 item is coming.