-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How do you implement a range plugin? #211
Comments
@ashokaditya that appears to be in beta, from the docs. Do you need two inputs or do you just want a range picker? You can set If you really need two inputs or want to implement a custom rangePlugin, I don't think we currently support this. I would definitely be open to supporting this though. Would you be interested in submitting a PR to add this functionality? |
Thanks for your response @rwwagner90 Yes I would require two inputs. It is more intuitive, I think. I would love to create a pull request if you agree :) Please let me know, |
@ashokaditya the PR would be just to support range plugins, which should allow you to do whatever sort of ranges you want. FWIW, you can also do this now without the plugins, but just using two |
I'll give it a shot with two instances of ember-flatpicker and let you know how it goes, if that's okay. |
@ashokaditya not interested in adding support for rangePlugins in a PR? No pressure either way, but we should probably support it, if flatpickr supports it. |
Oh I thought you didn't want me to create a pull request. I think it is a great idea to have the range plugin support :) I would love to create a PR for this. Would you mind telling me how should I proceed? |
@ashokaditya no, I said you should create a PR. I said:
I definitely want to support all things flatpickr supports. Let me know what you need from me, and I am happy to help! |
@rwwagner90 I'm glad that you agree. Ash. |
@ashokaditya I don't have anything I require for a PR, but tests would be nice. |
@ashokaditya any progress on this? Anything I can help with? |
Hi @rwwagner90. I haven't had the time to write tests yet for the PR. Please let me know. Ash |
@ashokaditya there are tests already in the repo https://github.com/shipshapecode/ember-flatpickr/tree/master/tests |
@ashokaditya are you still working on this? |
@ashokaditya I'm going to assume you are no longer working on this and close the issue. If you would like to work on it more, please let me know. |
I would be very interested to add plugins. However, I'm not quite sure how to implement the class call ('[new weekSelect({})]') without eval(). |
@ejthan I am not familiar with these plugins. What changes do we need? |
Similar to this?
https://chmln.github.io/flatpickr/plugins/#rangeplugin-beta
The text was updated successfully, but these errors were encountered: