amsul / amsul/pickadate.js

Element should not be required to be an input

Open
#323 21 comments 0 reactions 0 assignees View on GitHub
todo
Dominant language
JavaScript
Stars
7.6k
Forks
981
PR merge metrics
No merged PRs in 30d

Description

I'm currently using pickatime and needed to add a caret to the element. It also needed to behave as a button, so I did not want to use an input field. I also have experienced issues with the readonly attribute in ie as well as finding the ability to still edit a readonly field in modern browsers.

I got this working fine, but in ie8 and 9, the autofocus breaks the browser with "Object doesn't support this action." error on line 93 "ELEMENT.autofocus..."

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.