Giter VIP home page Giter VIP logo

Comments (6)

jkuri avatar jkuri commented on July 17, 2024

unfortunately not. it was nasty looking with that double arrows and I decided to remove it with the new version.

from ng2-datepicker.

tpruthi avatar tpruthi commented on July 17, 2024

But it was a good feature. If end user will have to select DOB as 17-04-1952. He will have to press a lot of time. Which is not good

from ng2-datepicker.

jkuri avatar jkuri commented on July 17, 2024

you are right about that for sure. its not a feature that's hard to implement just didn't found the way to be consistent with the new design. is the double click maybe an option?

from ng2-datepicker.

tpruthi avatar tpruthi commented on July 17, 2024

For a better design you can implement like windows datepicker. where on clicking the month no of months appear and on clicking again on year, It populates a list of years. It is also implemented in ng2-bootstrap

from ng2-datepicker.

RajniShriramoji avatar RajniShriramoji commented on July 17, 2024

Hi, can we use old version for changing year directly as this is removed in latest version.
Can you please suggest which version we need to use for changing year directly.

Thanks!

from ng2-datepicker.

hydra1983 avatar hydra1983 commented on July 17, 2024

Maybe allowToChangeYears can be provided to achieve this.

    prevYear() {
        this.date = this.date.subtract(1, 'year');
        this.generateCalendar();
    }

    nextYear() {
        this.date = this.date.add(1, 'year');
        this.generateCalendar();
    }

image

from ng2-datepicker.

Related Issues (20)

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.