Comments (5)
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.
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.
@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.
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.
@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)
- Updating the component when startDate changes HOT 2
- Trouble getting schedule to work on mobile? HOT 8
- Trouble installing HOT 2
- Small mode HOT 2
- [Docs] I found typo in its documentation in npm HOT 1
- Make example website mobile friendly
- Possible feature HOT 1
- Programmatically disable cells. HOT 5
- can't resolve web.dom-collections.iterator on installation HOT 1
- Disable dragging selection
- Use days of week without dates HOT 1
- Square Selection Scheme Issue
- Possible Bug with Duplicated Dates on Drag Selection
- Multi-language HOT 1
- No Typing HOT 1
- TypeError: this.props.renderDateCell is not a function HOT 1
- Possible to add multiple "selection" levels? HOT 1
- Possible to display a given set of dates/times on the schedule without user selection? HOT 1
- react-dom.development.js:67 Warning: React does not recognize the `selectedColor` prop on a DOM element
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-schedule-selector.