if no value set for a choose, display no value
This commit is contained in:
parent
79355f92a7
commit
86fc311277
1 changed files with 1 additions and 0 deletions
|
@ -114,6 +114,7 @@ class TiramisuNamespace(Namespace):
|
|||
except ValueError as err:
|
||||
if option.option.type() == 'choice':
|
||||
values = option.value.list()
|
||||
display_value = ''
|
||||
if isinstance(true_value, list):
|
||||
for val in value:
|
||||
if val not in values:
|
||||
|
|
Loading…
Reference in a new issue