clarify that EditType is optional (#8386)

This commit is contained in:
Noelle Daley
2020-02-19 11:44:22 -06:00
committed by GitHub
parent 538bf25223
commit 832ff5ddd8

View File

@@ -190,8 +190,8 @@ type DisplayAttributes struct {
// Action is the verb to use for the operation.
Action string `json:"action,omitempty"`
// EditType is the type of form field needed for a property
// e.g. "textarea" or "file"
// EditType is the optional type of form field needed for a property
// This is only necessary for a "textarea" or "file"
EditType string `json:"editType,omitempty"`
}