Is your feature request related to a problem? Please describe.
The clear button is always visible. For specific uses cases I wish I could hide it, for example if the field is required and it doesn't make sense to clear the input.
Describe the solution you'd like
Please add a possiblity to hide the clear button.
Describe alternatives you've considered
I tried hiding it via css, but because it is still focusable (tabindex=0) there are problems when using it inside a dialog with focus trap.