Giter Site home page Giter Site logo

Comments (8)

marshall86 avatar marshall86 commented on May 13, 2024 2

@dwjohnston if there are InvalidDates from isInvalidDate function, range (with a date invalid) becomes the first range until the first invalid date.

For our example (say you have January 20 and 21 disabled, you can still select the range 18th Jan to 23rd Jan .), the range become: 18th Jan to 19 Jan (since 20 is the first disabled)

Does this statement solve this issue?

About this issue, if i select a range of dates and there are some disabled in said range, the result should be the full range in any case with the disabled dates showed in the calendar.

Can you fix it please?

from ngx-daterangepicker-material.

dwjohnston avatar dwjohnston commented on May 13, 2024 1

from ngx-daterangepicker-material.

fetrarij avatar fetrarij commented on May 13, 2024

Hello, I tried to understand but I couldnt. Could you give more details on this?

from ngx-daterangepicker-material.

dwjohnston avatar dwjohnston commented on May 13, 2024

Sure, so say you have January 20 and 21 disabled, you can still select the range 18th Jan to 23rd Jan .

from ngx-daterangepicker-material.

fetrarij avatar fetrarij commented on May 13, 2024

Thanks,
What would be the right behaviour when this happened in your opinion?
A result with an array of all available date? or the first available date? or just not return a result?

from ngx-daterangepicker-material.

fetrarij avatar fetrarij commented on May 13, 2024

@dwjohnston if there are InvalidDates from isInvalidDate function, range (with a date invalid) becomes the first range until the first invalid date.

For our example (say you have January 20 and 21 disabled, you can still select the range 18th Jan to 23rd Jan .), the range become: 18th Jan to 19 Jan (since 20 is the first disabled)

Does this statement solve this issue?

from ngx-daterangepicker-material.

fetrarij avatar fetrarij commented on May 13, 2024

14488fb this is the commit.

from ngx-daterangepicker-material.

fetrarij avatar fetrarij commented on May 13, 2024

v1.2.5 is up for it.

from ngx-daterangepicker-material.

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.