Manjunath M
Manjunath M

Reputation: 608

How to remove the cross icon in textbox that comes by default in internet explorer

I am using UI5 text box which already has an option to clear the text by having a cross 'X' button.

But, in internet explorer along with the UI5 cross button it adds one more default cross mark for clearing the text, as in the picture,

enter image description here

How to remove the internet explorer's cross mark?

Upvotes: 0

Views: 1445

Answers (1)

Pritish Vaidya
Pritish Vaidya

Reputation: 22209

You can style the input element with the ::ms-clear property

.inputfieldname::-ms-clear {
    display: none;
}

OR

.inputfieldname::-ms-clear {
  width : 0;
  height: 0;
}

Upvotes: 1

Related Questions