AustinGil/vuetensils

[Feature Request] VDate: allow inline usage

bcourtel opened this issue · 3 comments

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!

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.

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

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