${ask} editor variable label disappears for empty string
Posted: Wed Jun 28, 2017 11:34 pm
If I want a default value of empty string in an ${ask} editor variable, the label will not be shown in a combobox or editable_combobox:
${ask('select a customer (blank for no filter)', combobox, ('cust1':'Customer 1'; 'cust2':'Customer 2'; '':'any customer'), '')}
will display Customer 1 and 2, but the last item (which does default to) in the combobox does not display 'any customer'.
${ask('select a customer (blank for no filter)', combobox, ('cust1':'Customer 1'; 'cust2':'Customer 2'; '':'any customer'), '')}
will display Customer 1 and 2, but the last item (which does default to) in the combobox does not display 'any customer'.