changeset 9095 | 5110da3a71eb |
parent 9094 | 519dea077d20 |
child 9097 | 05979ae1e38a |
--- a/util/dataforms.lua Fri Aug 03 22:05:40 2018 +0200 +++ b/util/dataforms.lua Fri Aug 03 22:24:35 2018 +0200 @@ -58,7 +58,7 @@ end local options = field.options; - if formtype == "form" and not options and value + if formtype == "form" and value and (field_type == "list-single" or field_type == "list-multi") then -- Allow passing dynamically generated options as values options, value = value, nil;