I'm standing on the hose and unfortunately I haven't found anything suitable in the community.
I save the values from 2 text fields (txtType and txtMain variety) in a list in List.
After saving in the Tiny, I want to assign the first column (txtType) to a spin field. After a selection in the spinner, the field txtMain should be updated accordingly and display the corresponding entry from the table. Unfortunately, I can't do that. Maybe one of you can help me. I am grateful for any help.
First of all, thank you very much. I tried to use it. For a static list, it works. My only problem is that my list is filled flexibly.... Is there perhaps a solution for this?
Sorry, I just don't understand what is meant by flexible. The problem is that I'm still in the early stages of app development. I need a list of 2 columns. Column 1 Animals, Column 2 Sounds. If I select column 1, I want to see the corresponding sound from column 2. I save the list in a TinyDB. Thank you very much.
Thanks for your help.
After pressing the btnSpeichern button, the list is saved.
Via the text fields txtHauptsorte and txtSorte I save a list in TinyDB (SpeicherParzelle).
At the end, the content from column 1 (txtSorte) should be saved in the spinner.
After selection in the spinner, the corresponding value should be displayed in the field (txthaupt).
I added the sample code in the first post.