diff --git a/types.go b/types.go index 8c4f933..9a261d1 100644 --- a/types.go +++ b/types.go @@ -22,6 +22,10 @@ const ( func (ft FieldType) ParseValue(s string) (any, error) { s = strings.TrimSpace(s) + if s == "" { + return nil, nil + } + switch ft { case String: return s, nil