Comments (3)
I'm making this work by implementing a really hacky form that passes a time duration to the timekit filter. Passing the selection (or slider's value or whatever) to the configuration and reloading the calendar should allow the user to dictate the duration.
from booking-js.
@alialkhatib Thanks for chiming in. Yeah, this is what we recommend too for the time being. As you're saying, the length
parameter in Find Time can take any duration and as the booking.js config is all JS, you can simply pass it dynamically upon instantiation.
In the near future, I'm considering building a "pick a duration" dropdown into the widget, where visitors can pick from some predefined lengths. We're pretty short on UI space though, but shouldn't be that hard to implement.
from booking-js.
I agree. ATM i find myself implementing a terrible workaround to solve this. In my use case, the web site is for booking day care (8hs), dog sitting (24hs) or dog walking (1hs).
The user should be able to select the time slot starting from any point, plus, in the dog sitting case, the user should be able to pick as many days as wanted. I see a use case here as well for the other, where a user want to select 5 mondays in a row for dog walking at 10am.
I think this will be very useful for other use cases such: house rental, car rental, etc.
Now.. I just see the message from @laander and I will try to implement the range selector myself...although I have the feeling the user just wants to click around in the calendar because it looks simpler.
from booking-js.
Related Issues (20)
- I need help!! HOT 1
- Fetch availability not working properly HOT 1
- Link in description is no longer available
- Blur focus on booking form when user clicks submit
- Prevent Booking without validation
- Available slots are different in Desktop vs Mobile HOT 2
- Limit bookings 1 per day
- "Book it" button colour
- Google Calendar not Syncing
- node-sass version issue (Old)
- Cant find Jquery in Ionic app HOT 1
- how to add meta data to the booking object
- 5 minutes of buffer time between appointment
- Show availability from a subset of project resources
- jQuery 3.5.1 incompatibility HOT 2
- Only one instance on a page will respond to callbacks
- Not working with SSR using Next JS HOT 1
- How to override the rendered `booked-email` element?
- No way of prefilling a select field.
- mutual mode booking how to add participants
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 booking-js.