I have a problem with a code similar than the code below. In my mac I receive an input box with no “blank” values in the first dropdown item but in windows I always have a blank iteme in the first position.
What I’m doing wrong? Is there a better way to do that?
a = ["1.1 Columns", "1.2 Slab", "1.3 Fachade", "2.1 Columns", "2.2 Slab", "2.3 Fachade", "3.1 Columns", "3.2 Slab", "3.3 Fachade"]
prompts = ["Task?"]
defaults = ["Enter name"]
list = [a.join('|')]
input = UI.inputbox(prompts, defaults, list, "Tell me about the task.")
puts input