Input-clear-button and disabled

Hi @nolimits4web,

It seems that <span class="input-clear-button"></span> clears the text, even if disabled class added to input. Am I using it wrongly, or this is a bug? Also, on Chrome desktop, it conflicts with up/down buttons on <input type="number">.

Thank you!

But in this case when it is disabled just don’t put <span class="input-clear-button"></span> :slight_smile:

I add (and remove) disabled dynamically…

1 Like

@nolimits4web Do you mean that this won’t fix? Any easy way to solve it?

Well issue here is because I can clearly imagine situation where I still may need to be able to clear input when it is disabled. Like when we use input that filled from somewhere else, like Calendar’s, Picker’s inputs - we still need to be able to clear them