Init to valid value

This commit is contained in:
Rick Falkvinge
2021-07-07 12:24:24 +02:00
parent 9b646aa5b0
commit 346c51abbd
@@ -16,6 +16,7 @@ namespace Swarmops.Frontend.Controls.Base
protected void Page_Load (object sender, EventArgs e)
{
this.TextInput.Attributes["role"] = "note"; // disable Lastpass trying to autofill
this.InterpretedDate.Value = DateTime.Today.ToString(CultureInfo.InvariantCulture); // initialize to valid value
if (this.Layout == LayoutDirection.Unknown)
{