# HG changeset patch # User bsw # Date 1632123566 -7200 # Node ID af7b5bc0dec2681c17e8ef5b7894a2f83c924317 # Parent 61ed6a12c6b82fc3514842822d3979d4003cf3b4 Empty default selection for units diff -r 61ed6a12c6b8 -r af7b5bc0dec2 app/main/registration/_register_form.lua --- a/app/main/registration/_register_form.lua Mon Sep 20 09:22:57 2021 +0200 +++ b/app/main/registration/_register_form.lua Mon Sep 20 09:39:26 2021 +0200 @@ -187,7 +187,7 @@ if field.where then units_selector:add_where(field.where) end - local units = {} + local units = { { id = "", name = "" } } if field.optional then table.insert(units, { id = "",