Hi :)
I have a task to make dialog with undefined number of fields. I mean that I'm going throw InventTable and searching for missing data, when it occurs I'm adding a field to my dialog and display it at the end with all fields at the same time.
My only idea is like that:
d = new Dialog();
field1 = d.addField(types::String, "some text");
field2 = d.addField(types::String, "some text");
field3 = d.addField(types::String, "some text");
d.run();
it's not effective because I need to make a lot of variables, but DialogFields not allows to be an array.
Is there any solution to make that somehow like array to avoid making hundreds of variables?
*This post is locked for comments
I have the same question (0)