diff options
-rw-r--r-- | acf/model/init.lua | 6 | ||||
-rw-r--r-- | protocol.txt | 2 |
2 files changed, 6 insertions, 2 deletions
diff --git a/acf/model/init.lua b/acf/model/init.lua index 9b061ef..7b58190 100644 --- a/acf/model/init.lua +++ b/acf/model/init.lua @@ -128,7 +128,11 @@ function Collection:init(params, itype) assert(self.type) self.itype = itype or node.Collection - self.iparams = {required=self.required, destroy=self.destroy} + self.iparams = { + destroy=self.destroy, + required=self.required, + ui_member=self.ui_member + } self.dtype = 'collection' self.widget = self.dtype diff --git a/protocol.txt b/protocol.txt index f94e9e3..9a09511 100644 --- a/protocol.txt +++ b/protocol.txt @@ -58,7 +58,7 @@ resp: JSON object, with the following attributes: objects - members (collections and sets only): metadata for members (JSON object) - - ui-members (collections and sets only): singular noun + - ui-member (collections and sets only): singular noun describing members (shown to user) - scope (references only): subtree where the reference can refer to |