pushtell / react-bootstrap-date-picker

React-Bootstrap based date picker.
MIT License
347 stars 195 forks source link

Setting property showClearButton to false should not render 'x' in IE 10+ #115

Open stajo917 opened 7 years ago

stajo917 commented 7 years ago

When setting the property 'showClearButton' to false the 'x' reset marker in the Component is hidden. However, the input field that the component renders has a 'x' reset marker in IE (10+ I think). In Chrome it is not visible.

Expected Behavior

No 'x' marker should be visible in the input field, not even when using IE...

Current Behavior

No 'x' reset marker should be visible when setting property to false: <DatePicker showClearButton={false} .../>

Possible Solution

Using CSS to hide IE:s 'x' reset marker [selector]::-ms-clear { display: none; }

Your Environment