vue-datepicker icon indicating copy to clipboard operation
vue-datepicker copied to clipboard

How to remove "readonly" attribute from input?

Open rcubitto opened this issue 8 years ago • 4 comments

Out of the box, the input has the readonly attribute. I need a datepicker without that attribute, is there a way to do this?

In the DEMO given, none of them are readonly http://hilongjw.github.io/vue-datepicker/demo.html#!/

Thanks.

rcubitto avatar Jan 28 '17 14:01 rcubitto

I'm confused about this as well. The demo does not appear to be using the current version of the plugin.

dabernathy89 avatar Sep 21 '17 15:09 dabernathy89

Hey guys,

Have you figured this one out? I have set the css to cursor: auto; but i was wondering if there is a better way.

Thanks

IstvanLovas avatar Apr 25 '18 19:04 IstvanLovas

up!

AlexyOd avatar Feb 26 '19 13:02 AlexyOd

You can set the typeable attribute to true like :typeable="true". It removes readonly attribute.

hari03 avatar Aug 13 '19 08:08 hari03