Dismiss Icon In search-bar

I know this is a stupid question , but where is the properties for an icon in the search bar to set a new event to clear content entered into the search bar?

I have given up…

From what i understand to add a new icon, you cant use the ready made search bar, you have to use the input field from the primitives section and then double click and add the icons you want and then you can add functions to those icons.