Parcourir la source

docs: Note planned extension to custom fields

Michael Bromley il y a 7 ans
Parent
commit
9153d462f9
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      README.md

+ 1 - 0
README.md

@@ -118,6 +118,7 @@ The following types are under consideration:
 Currently a custom field configuration has only a "name" and "type". We will be adding further configuration
 Currently a custom field configuration has only a "name" and "type". We will be adding further configuration
 options in the future as the framework matures. Currently-planned options are:
 options in the future as the framework matures. Currently-planned options are:
 
 
+* **Enum-like options for strings**. This would display a `<select>` control with pre-defined values.
 * **Access control based on user permissions**. So that read / update access to a given custom field can be
 * **Access control based on user permissions**. So that read / update access to a given custom field can be
 restricted e.g. only authenticated users / admins / not exposed via the GraphQL API at all (in the case where)
 restricted e.g. only authenticated users / admins / not exposed via the GraphQL API at all (in the case where)
 the custom field will be used solely programatically by business logic contained in custom plugins).
 the custom field will be used solely programatically by business logic contained in custom plugins).