Skip to content

[CD]: Remove Clear "X" Button from PrimeNG MultiSelect Filter #33150

Closed

Description

@rjvelazco

Problem Statement

The PrimeNG MultiSelect component displays a built-in "X" button in its filter panel. Our design team wants this removed to match our UI guidelines.

PrimeNG provides an ng-template for customizing the filter content, which we can use to remove the "X" button and keep only the search input.

Steps to Reproduce

  1. Go to /dotAdmin/#/content-drive
  2. Open any MultiSelect component.
  3. Notice the "X" (clear) button next to the filter input.
  4. This element should not appear per design requirements.

Proposed Solution

  • Use the provided ng-template customization to override the filter template.
  • Remove the "X" button, keeping only the input field.
  • Ensure no functionality is lost (users can still search/filter as expected).

Reference

Image

Acceptance Criteria

  • The "X" button is no longer visible in the MultiSelect filter panel.
  • Filtering still works as expected.
  • Visual design matches the design team’s reference.

dotCMS Version

main / trunk

Proposed Objective

User Experience & Design Consistency

Proposed Priority

Priority 3 – Average

Activity

  1. added theissue type on Sep 1, 2025
  2. moved this from New to Next 2-4 Sprints in dotCMS - Product Planningon Sep 1, 2025
  3. changed the issue type fromtoon Sep 10, 2025
  4. self-assigned this
    on Sep 16, 2025
  5. moved this from Next 2-4 Sprints to In Progress in dotCMS - Product Planningon Sep 16, 2025
  6. github-actions commented on Sep 16, 2025

    @github-actions
    Contributor
  7. moved this from In Progress to In Review in dotCMS - Product Planningon Sep 18, 2025
  8. added a commit that references this issue on Sep 18, 2025
    482a24b
  9. reopened this on Sep 18, 2025
  10. self-assigned this
    on Sep 18, 2025
  11. dario-daza commented on Sep 19, 2025

    @dario-daza
    Member

    QA-PASSED:

    In the /dotAdmin/#/content-drive path, the filters now are display without the "X" button added by PimeNG Multiselect component, as required by the UI guidelines.

    Tested Scenarios:

    1. Validate that all the filters match the Figma design without the "X" button in the search input.
      Expected: "X" button in the search input is not displayed.
    2. Filter by a single Base Type.
    3. Filter by a multiple Base Type.
    4. Filter by a single Content Type.
    5. Filter by a multiple Content Type.
    6. Filter by a single Locale.
    7. Filter by Base Type and Content Type.
    8. Filter by Base Type, Content Type and Locale.

    For the steps 2 to 8 the Expected result is the no affectation of the filtering.

  12. removed their assignment
    on Sep 19, 2025
  13. added a commit that references this issue on Sep 29, 2025
    102c0e9
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions