aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/dataforms.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/util/dataforms.lua b/util/dataforms.lua
index 73a78f08..92d4f619 100644
--- a/util/dataforms.lua
+++ b/util/dataforms.lua
@@ -57,6 +57,10 @@ function form_t.form(layout, data)
end
end
+ if field.required then
+ form:tag("required"):up();
+ end
+
-- Jump back up to list of fields
form:up();
end