Support nillable fields.

This commit is contained in:
mikestefanello 2025-04-12 16:45:33 -04:00
parent 7ff1e3f9d2
commit b8d8184bda
2 changed files with 2 additions and 9 deletions

View file

@ -67,8 +67,6 @@ func AdminEntityForm(ctx echo.Context, schema *load.Schema, values url.Values) e
for _, f := range schema.Fields {
// TODO cardinality?
// TODO optional fields?
// TODO password?
switch f.Info.Type {
case field.TypeString:
inputType := "text"