From d53ab487ac07c6ce7b220c01a52a4c8ccb62c05f Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Wed, 7 Jul 2021 16:26:14 +0200 Subject: [PATCH] They say it works better if you spell it right --- Site/Controls/v5/Base/DateTextBox.ascx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Site/Controls/v5/Base/DateTextBox.ascx b/Site/Controls/v5/Base/DateTextBox.ascx index 4de13277..af08eb62 100644 --- a/Site/Controls/v5/Base/DateTextBox.ascx +++ b/Site/Controls/v5/Base/DateTextBox.ascx @@ -42,8 +42,8 @@ function (data) { console.log(data); if (data.Success) { - $('#<%=this.ClientID%>_TextInput').val(data.PresentedValue); - $('#<%=this.ClientID%>_InterpretedDate').val(data.InterpretedValue); + $('#<%=this.ClientID%>_TextInput').val(data.PresentedDate); + $('#<%=this.ClientID%>_InterpretedDate').val(data.InterpretedDate); } else { $('#<%=this.ClientID%>_TextInput').val(''); $('#<%=this.ClientID%>_InterpretedDate').val('');