Hi everyone,
I'm sorry to bother you, but I'm having a very annoying problem that I can't solve despite a lot of debugging time...
I will explain the context to you very quickly. I have a card list table (listes: [Liste]) in my ContentView page I do a foreach, and I pass one of the lists in binding in another view (AfficherUneListeView), and on this page I have a button which allows to modify the name of the list. When I'm on the edit list page and click on the textfield, my page "crashes" but not the app. So impossible to update the name (unless I'm very fast, I can modify a character and it spits (see the video to believe it).
https://youtu.be/9O-dATdAp2I
Here is the flow diagram of the list variable:
ContentView -> then binding on AfficherUneListeView then Binding on ModifierUneListeVuew then Binding on TextField
I have attached all the files necessary to make it work, the code. I searched for hours, I followed tutorials... I can't understand I'm desperate, thank you in advance everyone!
Model structures (carte, listes, session) :
Carte.swift
Liste.swift
Session.swift
And the app :
ContentView.swift
ModifierUneListeView.swift
AfficherUneListeView.swift
6
0
796