GithubHelp home page GithubHelp logo

tinysymphony / react-native-calendar-select Goto Github PK

View Code? Open in Web Editor NEW
305.0 9.0 97.0 2.88 MB

A component to select period from calendar like Airbnb

License: MIT License

JavaScript 82.38% Python 4.08% Java 3.11% Objective-C 10.42%
calendar select picker airbnb date react-native

react-native-calendar-select's Issues

Localization of month names

As far as I could gather from the source code, the month names (i18n) are hardcoded? So no way of passing a customI18n props that has month names other then the supported languages (en / zh / jp) ?

Calendar Crashes Application

When testing on my VMs, all goes out well.

When i generate a pkg using gradlew assembleRelease, the calendar crashes my application when the user rolls it down.

Any idea what can be happening?

Thanks for the help :)

Single date

Any way to use this component for a single date? Like a date of birth

Array size is not a small enough positive integer.

I have an error when scroll to next year on Android.

ERROR: E/ReactNativeJS: RangeError: RangeError: RangeError: RangeError: Array size is not a small enough positive integer.

Here my code:

<Calendar
        i18n="en"
        ref={(calendar) => {this.calendar = calendar;}}
        customI18n={customI18n}
        color={color}
        format="YYYYMMDD"
        minDate="20181221"
        maxDate="20191121"
        startDate={this.state.startDate}
        endDate={this.state.endDate}
        onConfirm={this.confirmDate}
      />

Please help me to fix it

Multiple dates

Great calendar, thanks for sharing. We are just wondering is it possible to have multiple dates that are not a consecutive range? Eg. 1st Jan, 20th Feb etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.