Reified "checkbox_widget" property
authorThierry Florac <thierry.florac@onf.fr>
Thu, 21 Jun 2018 10:37:49 +0200
changeset 120 0b22b765cdb0
parent 119 77ad84e8b837
child 121 cd6dec930b3e
Reified "checkbox_widget" property
src/pyams_form/group.py
--- a/src/pyams_form/group.py	Wed Jun 20 18:14:23 2018 +0200
+++ b/src/pyams_form/group.py	Thu Jun 21 10:37:49 2018 +0200
@@ -73,7 +73,7 @@
                 css_class += ' switcher'
         return css_class
 
-    @property
+    @reify
     def checkbox_widget(self):
         if self.checkbox_field is None:
             return None