vaadin-component-factory / vcf-date-range-picker-flow

Date Range Picker Flow component

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

EnhancedDateRangePicker component for Vaadin Flow

This project is based on DatePicker component for Vaadin Flow and also in EnhancedDatePicker.

On top of basic functionality of DatePicker, it has ability to select date ranges using only one scrollable calendar. As in EnhancedDatePicker, formatting is done by JavaScript library date-fns v2.0.0-beta.2. More information about supported formatting paterns can be found here: https://date-fns.org/v2.0.0-beta.2/docs/format

This component is part of Vaadin Component Factory

Compatibility

  • Version 1.x.x supports Vaadin 14+
  • Version 2.x.x supports Vaadin 21+
  • Version 3.x.x supports Vaadin 23.0.x
  • Version 4.x.x supports Vaadin 23.1 & 23.2

Running the component demo

Run from the command line:

  • mvn -pl enhanced-date-picker-demo -Pwar install jetty:run

Then navigate to http://localhost:8080/vcf-date-range-picker

Installing the component

Run from the command line:

  • mvn clean install -DskipTests

Using the component in a Flow application

To use the component in an application using maven, add the following dependency to your pom.xml:

<dependency>
    <groupId>com.vaadin.componentfactory</groupId>
    <artifactId>vcf-date-range-picker</artifactId>
    <version>${component.version}</version>
</dependency>

Flow documentation

Documentation for flow can be found in Flow documentation.

License

Apache Licence 2

About

Date Range Picker Flow component


Languages

Language:JavaScript 90.7%Language:Java 9.2%Language:CSS 0.0%