Generate dynamic buttons input from a variable

The idea is that we would be able to store a list in a variable and use this list to generate a dynamic input with buttons (or other)