collective / collective.easyform

Forms for Plone

Home Page:https://pypi.org/project/collective.easyform

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

pat-depends or css-class not working on rich-label

Nimo-19 opened this issue · comments

commented

Hi,

I tried adding a CSS Class to a rich-label and noticed the class is not set.
After rummaging through the repo I noticed in the rich-label.pt although that pad-depends is not set.
Tried to override it quick and dirty analogous to the widget.pt, but got a LocationError:

zope.location.interfaces.LocationError: zope.location.interfaces.LocationError: (<Products.Five.browser.metaconfigure.RichLabelRenderWidget object at 0x7c8a5504eb50>, 'dependencies')

 - Expression: "cies view/@@depende"
 - Filename:   ... wser/overrides/collective.easyform.browser.rich_label.pt
 - Location:   (line 8: col 15)
 - Source:     dependencies view/@@dependencies;
commented

I would really like to fix this. Can anybody point me in the right direction. Don't know where to start.
It worked (somehow) in my 3.2.1 Plone 5.2 instance.