ui5-webcomponents icon indicating copy to clipboard operation
ui5-webcomponents copied to clipboard

SearchItem does not support hide close button

Open mydavidzhang opened this issue 4 months ago • 1 comments

Bug Description

When mouse hover and active on SearchItem there is always one close button, there is no way to hide this button if application does not want close item function. Note: API shows there is delete event triggered by this button, but there is no way to hide close button.

Affected Component

No response

Expected Behaviour

Should be able to hide close button

Isolated Example

see SDK https://sap.github.io/ui5-webcomponents/components/fiori/Search/

Steps to Reproduce

  1. Open page https://sap.github.io/ui5-webcomponents/components/fiori/Search/
  2. type any key in first search
  3. mouse left click and hold on it to make the item active
  4. There is close button which is not expected since application does not want delete function

Log Output, Stack Trace or Screenshots

No response

Priority

High

UI5 Web Components Version

2.11.0

Browser

Chrome

Operating System

No response

Additional Context

No response

Organization

SAP_SF

Declaration

  • [x] I’m not disclosing any internal or sensitive information.

mydavidzhang avatar Jun 25 '25 21:06 mydavidzhang