date-input-polyfill-react

WebJar for date-input-polyfill-react

License

License

MIT
Categories

Categories

React User Interface Web Frameworks
GroupId

GroupId

org.webjars.npm
ArtifactId

ArtifactId

date-input-polyfill-react
Last Version

Last Version

2.14.4
Release Date

Release Date

Type

Type

jar
Description

Description

date-input-polyfill-react
WebJar for date-input-polyfill-react
Project URL

Project URL

https://www.webjars.org
Source Code Management

Source Code Management

https://github.com/pangon/date-input-polyfill-react

Download date-input-polyfill-react

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.npm/date-input-polyfill-react/ -->
<dependency>
    <groupId>org.webjars.npm</groupId>
    <artifactId>date-input-polyfill-react</artifactId>
    <version>2.14.4</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.npm/date-input-polyfill-react/
implementation 'org.webjars.npm:date-input-polyfill-react:2.14.4'
// https://jarcasting.com/artifacts/org.webjars.npm/date-input-polyfill-react/
implementation ("org.webjars.npm:date-input-polyfill-react:2.14.4")
'org.webjars.npm:date-input-polyfill-react:jar:2.14.4'
<dependency org="org.webjars.npm" name="date-input-polyfill-react" rev="2.14.4">
  <artifact name="date-input-polyfill-react" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.npm', module='date-input-polyfill-react', version='2.14.4')
)
libraryDependencies += "org.webjars.npm" % "date-input-polyfill-react" % "2.14.4"
[org.webjars.npm/date-input-polyfill-react "2.14.4"]

Dependencies

compile (1)

Group / Artifact Type Version
org.webjars.npm : babel-runtime jar [6.11.6,7)

Project Modules

There are no modules declared in this project.

date-input-polyfill-react

Just include this simple script and IE, Firefox, and OS X Safari will support <input type="date">, without any dependencies, not even jQuery!

Support dynamically created inputs, so can be used in single page applications.

Forked from date-input-polyfill to make it work with React >= 15.6 (and probably breaking compatibility with anything other than React, never tested that).

The changes to support React have been based on comments and code by:

Grin : https://stackoverflow.com/a/46012210/1141255

Brian Mann : https://github.com/cypress-io/cypress/issues/647#issuecomment-335829482 and https://github.com/cypress-io/cypress/commit/4a56ca83b3b6e19ec57d10a8160f54f513e8f8ec

Install

npm install --save date-input-polyfill-react

Versions

Version
2.14.4