Pode.Web icon indicating copy to clipboard operation
Pode.Web copied to clipboard

Pre-populate the Date field of the New-PodeWebDateTime element in Form

Open jbaechtelMT opened this issue 3 years ago • 1 comments

I was trying to pre-populate the Date field of the New-PodeWebDateTime element in a form with the current date. I tried using the -DisplayDate (string) parameter but that didn't seem to do anything and I can't seem to find any explanation anywhere about what that parameter is supposed to do.

Am I missing something easy?

jbaechtelMT avatar Oct 16 '22 18:10 jbaechtelMT

The -DefaultDate and -DefaultTime allow you to change the label value (ie: from Date: to something else).

There isn't a way to specify a default date/time currently, but I can have a look at implementing it!

Badgerati avatar Oct 24 '22 19:10 Badgerati