autosize icon indicating copy to clipboard operation
autosize copied to clipboard

attribute maxlength

Open t-veron opened this issue 7 years ago • 3 comments

The attribute " maxlength " is not taken into account by autosize

t-veron avatar Apr 26 '18 14:04 t-veron

Is this for the current version, or the old jQuery plugin? Because the current version has no conflict with the maxlength attribute, it works as expected.

jackmoore avatar Apr 26 '18 19:04 jackmoore

Just checked and it works as expected for the jQuery plugin too. You'll need to supply a demonstration of it not working because I was not able to reproduce the issue.

jackmoore avatar Apr 26 '18 19:04 jackmoore

Here's a fiddle of it working if you need a starting point: https://jsfiddle.net/zpb0u0yh/

jackmoore avatar Apr 26 '18 19:04 jackmoore