How do I create a customer database using spinner and tinyDB?

I want to create an application to record customer data

1- I write the customer’s name, address, phone number, and invoice value

2- Make a save by pressing the + button

3- Only the name is added to the spinner elements component

4- When you choose any previously entered name from the spinner elements, its information (phone number, address, and invoice value) will appear below for each selected customer .

5- When choosing any name, it can be deleted by pressing the delete button

I have completed half the task and I was able to record only the names of the clients, but I cannot save and record the other data (phone number, address, and invoice value) and link it to each client

aia attached
Screenshot 2024-04-30 172227


Clients(2).aia (6.3 KB)

Manage three different lists can be more difficult than only one list. If customer's name is unique maybe would be better to use the name like tag, and store a list, with the several fields of the customer (address, phone..), like value.

My attempt was unsuccessful. A message appears stating that a list cannot be created

Clients(3).aia (6.7 KB)

Try something like this:

SOLVED ... THANK YOU
Clients(4).aia (6.4 KB)

1 Like

can i store an image for each customer , i set the image from imagepicker
?? my trial faild

The Image Picker component is limited to 10 images you can pick from
Try

Taifun

1 Like

solved ... thanks to @Ramon @Taifun ...


Clients(5).aia (7.5 KB)

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.