Support nillable fields.
This commit is contained in:
parent
7ff1e3f9d2
commit
b8d8184bda
2 changed files with 2 additions and 9 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue