jQuery.Autosize.Input icon indicating copy to clipboard operation
jQuery.Autosize.Input copied to clipboard

Set a correct behaviour using the placeholder

Open Melkaz opened this issue 10 years ago • 1 comments

Sometimes we want to have a dynamic width even when the input is smaller than the placeholder. To do that, we may drop the width css attribute.

Here is an example. Please input some text, then erase it. http://jsfiddle.net/mJMpw/695/

The trick is to use the placeholder text as a default if there is no value in the input.

Melkaz avatar Sep 07 '14 19:09 Melkaz

@Melkaz I think it's not a correct default behavior. Maybe control empty state via settings?

ezhlobo avatar Sep 18 '15 00:09 ezhlobo