liquid_feedback_frontend
changeset 1683:af7b5bc0dec2
Empty default selection for units
author | bsw |
---|---|
date | Mon Sep 20 09:39:26 2021 +0200 (2021-09-20) |
parents | 61ed6a12c6b8 |
children | b1cec2dcc035 |
files | app/main/registration/_register_form.lua |
line diff
1.1 --- a/app/main/registration/_register_form.lua Mon Sep 20 09:22:57 2021 +0200 1.2 +++ b/app/main/registration/_register_form.lua Mon Sep 20 09:39:26 2021 +0200 1.3 @@ -187,7 +187,7 @@ 1.4 if field.where then 1.5 units_selector:add_where(field.where) 1.6 end 1.7 - local units = {} 1.8 + local units = { { id = "", name = "" } } 1.9 if field.optional then 1.10 table.insert(units, { 1.11 id = "",