GithubHelp home page GithubHelp logo

raralabs / react-patro Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 5.0 1.48 MB

AD and BS Calendar functions as hooks and component.

License: MIT License

HTML 1.36% CSS 19.99% JavaScript 10.32% TypeScript 68.31% Shell 0.02%
calendar reactjs ad bs ad2bs bs2ad nepali-calendar datepicker

react-patro's People

Contributors

anup-stha avatar ctrlx-altf4 avatar prasid444 avatar suntoss0708 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

react-patro's Issues

Allow focus on icon click only option.

There should be an option to let users only open the dropdown date picker component when clicking on the suffix icon and not on the entire input element.

dateformat issue

When dateformat prop is used, error occurs.

Reproduction code:
<Picker calendarType="AD" dateFormat="dd-mm-yyyy" //other props />

Error:
An error occurred: Invalid Date Format. Expected Date Format dd-mm-yyyy instead got 01-01-2022 for prop value passed in Calendar.

Featured Projects

Let's also have a section in readme where products using react-patro will be featured. Also, we might need some channels to collect such information.

Suggestions:

  1. Providing email where they can send logo, product URL,...
  2. Creating a google form and attaching the link to fill in the readme.md

onBlur logic

When the input is blurred (onBlur) by pressing the "tab" key:

  1. the calendar popup should disappear.
  2. if no date was selected previously, today's date should be selected.
  3. the focus should entirely move out of the calendar (input and popup).

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.