added support to reference collections in the UI with both their name and id
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ const FieldTypeEmail = "email"
|
||||
|
||||
var _ Field = (*EmailField)(nil)
|
||||
|
||||
// EmailField defines "email" type field for storing single email string address.
|
||||
// EmailField defines "email" type field for storing a single email string address.
|
||||
//
|
||||
// The respective zero record field value is empty string.
|
||||
type EmailField struct {
|
||||
|
||||
+1
-1
@@ -69,7 +69,7 @@ var (
|
||||
// // []string{"new1_ajkvass.txt", "new2_klhfnwd.txt", "old1.txt", "old2.txt",}
|
||||
// record.Set("+documents", []*filesystem.File{new1, new2})
|
||||
//
|
||||
// - "fieldName-" - subtract one or more files from the existing record one. For example:
|
||||
// - "fieldName-" - subtract/delete one or more files from the existing record one. For example:
|
||||
//
|
||||
// // []string{"old2.txt",}
|
||||
// record.Set("documents-", "old1.txt")
|
||||
|
||||
+1
-1
@@ -21,7 +21,7 @@ const FieldTypeURL = "url"
|
||||
|
||||
var _ Field = (*URLField)(nil)
|
||||
|
||||
// URLField defines "url" type field for storing URL string value.
|
||||
// URLField defines "url" type field for storing a single URL string value.
|
||||
//
|
||||
// The respective zero record field value is empty string.
|
||||
type URLField struct {
|
||||
|
||||
Reference in New Issue
Block a user