Giter VIP home page Giter VIP logo

Comments (5)

bibekg avatar bibekg commented on July 19, 2024

Thanks for filing the issue! If I'm understanding correctly, are you suggesting that each cell should essentially have 3 states: unselected, selected positively, selected negatively (i.e. "blocked out" to specify not available)?

from react-schedule-selector.

ultimaustin avatar ultimaustin commented on July 19, 2024

Hi, This feature would be extremely useful. This project looks perfect for a requirement I have for self-scheduling but I need the ability to mark certain slots in the calendar as blocked off. @bibekg I was hoping that there was a mechanism to be able to set the state of a range of times as "selected negatively" so they would be greyed out and un-selectable.

Am I right that this is currently not supported?

from react-schedule-selector.

bibekg avatar bibekg commented on July 19, 2024

@ultimaustin yeah, that isn't supported right now. But it does sound like you and @leonardobork may be describing different features.

I think what @leonardobork is requesting is to be able to allow the user to negatively select a cell to indicate they are not available at that time.

It sounds like your request is to programmatically disable certain cells from being selected at all.

Am I understanding correctly?

from react-schedule-selector.

ultimaustin avatar ultimaustin commented on July 19, 2024

Yes, you are completely right.

I am requesting the ability to prevent the user from selecting certain cells. For any given day I know which cells are available to book and which have already been booked. I therefore need to be able to prevent the user from selecting the slots which have already been chosen by someone else.

from react-schedule-selector.

bibekg avatar bibekg commented on July 19, 2024

@ultimaustin Gotcha. That seems like a pretty useful feature, happy to add it in the next release. Would you mind filing a new issue describing it to reduce confusion with the other feature that I think is being described in this one?

from react-schedule-selector.

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.