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

[5.x] Add empty/not empty filters for replicator, bard and grid #11354

Open
wants to merge 3 commits into
base: 5.x
Choose a base branch
from

Conversation

jacksleight
Copy link
Contributor

@jacksleight jacksleight commented Jan 14, 2025

This PR adds empty and not empty filter options for the replicator, bard and grid fieldtypes:

Screenshot 2025-01-14 at 13 59 38

Edit:

I was about to add this to bard as well, and do another copy-paste, and then I realised these could just be added to textarea class that these three were already extending since it would work for text as well. But then I wasn't really sure if replicator extending textarea really makes sense in the first place? What do you think? Should they all use some kind of generic base class or just stick with textarea?

@jasonvarga
Copy link
Member

I don't think it makes sense for them to extend textarea.

Copy pasting a couple of arrays isn't the end of the world.

@jacksleight
Copy link
Contributor Author

jacksleight commented Jan 15, 2025

OK cool, I added the same for bard as well.

@jacksleight jacksleight changed the title [5.x] Add empty/not empty filters for replicator and grid [5.x] Add empty/not empty filters for replicator, bard and grid Jan 15, 2025
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

Successfully merging this pull request may close these issues.

2 participants