added required validator for the TextField.Pattern option in case it is a primary key
This commit is contained in:
@@ -247,6 +247,7 @@ func parseQueryToFields(app App, selectQuery string) (map[string]*queryField, er
|
||||
System: true,
|
||||
Required: true,
|
||||
PrimaryKey: true,
|
||||
Pattern: `^[a-z0-9]+$`,
|
||||
},
|
||||
}
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user