def ListifyOption(option):
    if option:
        lex = shlex.shlex(option)
        lex.whitespace = WHITESPACE
        lex.wordchars += ":.-"
        return list(lex)
    else:
        return None
Always render the field type, if different from text-single.
dataset/ETHPy150Open HenriWahl/dhcpy6d/dhcpy6/Helpers.py/ListifyOption--crossover with--dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/FieldTest.test_toElementTypeNotTextSingle