Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Nimo-19 opened this issue Mar 14, 2024 · 1 comment
Open

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

Nimo-19 opened this issue Mar 14, 2024 · 1 comment

Comments

@Nimo-19
Copy link
Contributor

Nimo-19 commented Mar 14, 2024

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;
@Nimo-19 Nimo-19 changed the title No pat-depends or css-class not working on rich-label pat-depends or css-class not working on rich-label Mar 14, 2024
@Nimo-19
Copy link
Contributor Author

Nimo-19 commented Mar 25, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant