Hello,
I came across an issue where it seems that the TextBox component acts strange when a Value contains a timestamp.
Background on my Use Case:
I
am creating a portal for viewing our teams logs. In this case, I am
trying to display a large block of text, which happens to contain a
timestamp string.
I do not want the TextBox to do any parsing or formatting, only display the given text.
Base Code:
var json = "\"DateTime\": { \"Format\": \"UTC\", \"Value\": \"2019-11-13T08:19:10Z\" }";
<EjsTextBox Width="100%" Readonly="true" Multiline="true" Value="@json" Type="text"/>
Expected Text Box Output:
"DateTime": { "Format": "UTC", "Value": "2019-11-13T08:19:10Z" }
Actual TextBox Output:
Invalid Date
Please
see the attached screenshot, which shows that the addition of a
Timestamp String causes the TextBox to display "Invalid Date"