I’m making a Notes app but i got stucked…
When the user makes a note i want the app to make a card view and a label on it which writes out the note title after save.
And if the user makes a new note than i want that the app make another card view and label for it. I hope it’s understanable what i wanna do.
I’m trying to do this for 2 days now but it seems like i’m unlucky
(I’m new to this visually programming so don’t hit hard on me please )
(And yes i searched through the internet and this community forum but i didn’t really find what i wanted)
Here some picture of my blocks:
This is where i saves the note and the button clicks for ids:
The problem is you are saving your dictionary in ‘Notes’ tag but while displaying the title you are calling the dictionary with ‘Note’ tag and that tag tag isn’t available in your TinyDB.
Hence it’s creating an empty dictionary and as a result nothing is shown on main screen
I think you need to put get Value for key directly without using Tiny db Get Value block You have no such tag.So always the value will be empty string.
That means that creating labels blocks doesn’t execute at all.Use do it option for your global variables to know what does it returns.Maybe when you save you save wrong values.For example.What is the variable saves and id returns?
well … because i use dynamic label, card view and etc. it has to be an id for it. And i wanted to count the save button clicks and give the counted num as an id for the dynamic blocks.
The saves and id should increase everytime when the user saves a note and then the increased number shuold be added to the card view and label. Thats how i imagined to work… but as it looks not working.