Skip to content

[5.x]: Entry condition not working with Money field value set to zero #17236

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

Closed
jakobhaerter opened this issue May 8, 2025 · 2 comments
Closed
Labels

Comments

@jakobhaerter
Copy link

What happened?

Description

I'd like to hide one Money field if another Money field has its value set to 0.00. Unfortunately, it seems that the condition 0.00 is being ignored and the field stays visible.

Steps to reproduce

  1. Create a Money field and add another field you'd like to hide
  2. Add an entry condition for the field you'd like to hide and choose something like is not equal to 0.00
  3. Both fields should still be visible if the Money field has a value of 0.00.
Image

Craft CMS version

5.7.5

PHP version

8.3

Operating system and version

No response

Database type and version

No response

Image driver and version

No response

Installed plugins and versions

@brandonkelly
Copy link
Member

Thanks for reporting that! Fixed for the next Craft 4/5 releases.

brandonkelly added a commit that referenced this issue May 8, 2025
@brandonkelly
Copy link
Member

Craft 4.15.4 and 5.7.6 are out with that fix. Thanks again!

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

No branches or pull requests

2 participants