From 5aa98691815650d56b04f4de9b3e820e4504a6ba Mon Sep 17 00:00:00 2001 From: Helmut Merz Date: Sat, 8 Oct 2016 14:05:19 +0200 Subject: [PATCH] add 'visible' property to IField interface --- composer/schema/interfaces.py | 1 + 1 file changed, 1 insertion(+) diff --git a/composer/schema/interfaces.py b/composer/schema/interfaces.py index a9648fd..ebc4825 100644 --- a/composer/schema/interfaces.py +++ b/composer/schema/interfaces.py @@ -215,6 +215,7 @@ class IField(IComponent): '(only for dropdown and other selection fields)'), required=False,) + visible = Attribute('Should the field be shown in display views?') fieldRenderer = Attribute('Name of a renderer (i.e. a ZPT macro or ' 'an adapter) that is responsible for rendering ' '(presenting) the field as a whole.')