Set date picker's initial input on next month's 1stday

Hello,

I want to set date picker’s initial input on next month’s 1stday.
For example, today is June 3, then date picker’s initial input is July 1.
Is it possible? Let me know how to do this.

Thanks!

I think this plugin may work with your aim.

If you enter 1 July 2022 in the minimum date in arbitrary date/time like below

When you run the app, you can pick the date that start from minimum date that you set before

Hope this help will help you.

If you have any question, feel free to let me know.

Samson
My page

No offense, @samsonlcl, but I don’t think that is what @fact-field is trying to do. If I understand the post correctly, I think they are looking to dynamically set the initial content of a date picker to the first day of the next month based off of the current date, and if that is correct, it would look more like this…

date

Hope I understood your post correctly, @fact-field, and I hope that helps.

Best…
Mike

1 Like

Hello, @mikeloc Thank you for your response.
This is what I want to do!
Thanks again.

Hello, @samsonlcl Thank you for your response.
This is great learning for me!
Thank you for your kind!

1 Like

This topic was automatically closed after 70 days. New replies are no longer allowed.