AustinGil / vuetensils

🍴 A tasty toolset for Vue.js 🛠 - Lightweight, functional components to boost your next project.
https://vuetensils.austingil.com/
MIT License
660 stars 38 forks source link

[Feature Request] VDate: allow inline usage #138

Open bcourtel opened 2 years ago

bcourtel commented 2 years ago

Hello,

I'd like to use the datepicker directly in a page, without requiring the user to click on a "Open datepicker" button. I'm working on a PR right now to allow that, only when a new prop (ie. inline) is true. This wouldn't change anything about the default usage.

Does this seem like an okay usage to you?

Thanks!

AustinGil commented 2 years ago

One thing I've thought about the datepicker is that the use of the button to toggle it was a mistake. I should have just made it inline the whole time. That may be something I want to do eventually, but it would create a breaking change, so I can't just change it now.

I guess what I mean to say is that I like this idea. Im dealing with a couple of other high priority tasks with the docs site not styling properly at the moment, but I will try to get to this soon. In the meantime, I recommend copying the source code as your own component so you dont have to wait on me.

WebMechanic commented 1 year ago

one year in...
care to have another look at the PR? 😇

AustinGil commented 1 year ago

Haha. Thanks for the re-prompt on this. Yes, I will get on it. I think it looks good.