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

Actually hide hidden item actions #12660

Merged
merged 11 commits into from May 9, 2024
Merged

Conversation

zepfietje
Copy link
Member

Description

Repeater and builder item actions that are conditionally hidden/visible still render as disabled. This PR fixes that bug by checking if the action is visible for the current item before rendering the action.

Functional changes

  • Code style has been fixed by running the composer cs command.
  • Changes have been tested to not break existing functionality.
  • Documentation is up-to-date.

@zepfietje zepfietje added the bug Something isn't working label May 7, 2024
@zepfietje zepfietje self-assigned this May 7, 2024
@danharrin danharrin added this to the v3 milestone May 8, 2024
Copy link
Member

@danharrin danharrin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please do the same for the builder & simple repeater

@zepfietje zepfietje marked this pull request as ready for review May 8, 2024 11:30
@zepfietje
Copy link
Member Author

Done, @danharrin! :)

@danharrin danharrin merged commit 04f2bcf into 3.x May 9, 2024
20 of 21 checks passed
@danharrin danharrin deleted the actually-hide-hidden-item-actions branch May 9, 2024 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants