vuetensils icon indicating copy to clipboard operation
vuetensils copied to clipboard

[Feature Request] VDate: allow inline usage

Open bcourtel opened this issue 2 years ago • 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!

bcourtel avatar Jan 10 '22 11:01 bcourtel

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.

AustinGil avatar Jan 10 '22 15:01 AustinGil

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

WebMechanic avatar Jan 31 '23 14:01 WebMechanic

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

AustinGil avatar Feb 01 '23 20:02 AustinGil