Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Change timeArray as you can change dayTable #12

Closed
jocodeone opened this issue Dec 11, 2020 · 3 comments
Closed

Change timeArray as you can change dayTable #12

jocodeone opened this issue Dec 11, 2020 · 3 comments
Labels
enhancement New feature or request

Comments

@jocodeone
Copy link

First of all, great work! It looks and behaves really good.

Is it possible to change the timeArray as well?

At the moment I cannot find a solution to change the time to a custom hour range without changing the internal state of your component. Maybe I just didnt found the prop or do we have to extend your Component to offer this?

Thanks a lot in advance!

@burhanahmeed
Copy link
Member

Hi, thanks for using it!

did steps props work for you ? It will change current default interval 60 minutes to your desired range.
what kind of custom hour range do you mean?

@jocodeone
Copy link
Author

Hi @burhanahmeed, thank's for your fast reply.

I'm looking more for changing the hours range from showing only 7:00 till 19:00 (it's the timeArray in your code). At the moment you can select any hours between 0 and 23. But as my use case is not offering a selection in the night, I would like to remove those boxes. Hope it's more clear now

@burhanahmeed
Copy link
Member

burhanahmeed commented Dec 13, 2020

ah got it, will take a look at it soon

@burhanahmeed burhanahmeed added the enhancement New feature or request label Dec 13, 2020
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants