Hi, I'm looking for help with a project.
I'm making a note taking app that also includes a todo / checklist like notetype that is implemented with Dynamic Components. It also uses Taifun Textbox for the Change-Listeners and Enter-Pressed Listeners.
The problem: Sometimes (not by a repeatable pattern I could recognize so far) when opening one of the dynamic checklist style notes, I get the following runtime error: "Cannot find the component: NameTB" where NameTB is the textbox, in which the name of the note is to be entered. This happens both when opening already existing notes as well as creating new checkbox notes. It does not happen on normal text-based notes. However, it does not always happen. I can open the same note connected via the AI companion multiple times and a few tries the error won't pop up and then it will happen once before not happening again for a bit. Same thing with new notes. I can create three new notes without problem and then suddenly the error pops up. Since the project is a bit complicated, I'll just append an export of the whole thing. I'm not sure if extensions are included in those exports? If not, it uses TaifunTextbox, Dynamic Components and Original Toast.
So far, I have not been able to locate the specific block I have to disable in order to stop the error from happening, although I think I have confirmed that it's not the Change-Listeners through Taifun Textbox. I have at one point disabled every single block that has something to do with NameTB inside the Screen.initialize block or the procedures it calls. The error still happens. I'm at a bit of a loss, any help is appreciated. Also, if you require any more information, I'll be happy to provide it.
Best regards, Mambouna
DailyNotes.aia (127.4 KB)
EDIT: Apologies, I just noticed I never said where any of this happens. The screen for the dynamic checkbox notes is DynamicListEdit and the screen from which we open a note or create a new one to get there is Screen1. The blocks on DynamicListEdit are roughly ordered chronologically by when they are used in the operation of the screen, so the blocks to do with opening the screen as well as the procedures called by Screen.initialize are on the far left.