I am using Dynamic components extension latest version
whenever i try to create component on screen initialize it works fine but whenever i try to create component on when data change it creates component but also shows me an error message “Run Time Error - Expected a unique id but got…” now i simply want to hide that message i tried everything but nothing works(i tried to find bug but there is no any bug, i use ‘generate id’ block but it creates same component multiple times) Hope you guys will help
Show your Blocks
This is when screen initialize and this works fine(for each number2 from)
you have done something wrongs that’s why it’s showing error
and it’s not a good thing to hide error or bcoz these errors can cause different kind of errors in future
number2 is being used to construct the ID, which should be unique. However when you get the column, number2 is just the length of the column, which may stay the same. Thus you end up reusing IDs.
Clearly it does stay the same - otherwise you wouldn’t be getting an error.
Generate ID only returns a random ID, it doesn’t create components. Moreover, you are not using the block in any of the blocks you shared so I don’t know what you’re talking about.
Either check your data backend, or create a more robust ID generation system, or both. Good luck.