A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
AI OnAI Off
A critical vulnerability was discovered in React Server Components (Next.js). Our Systems Remain Fully Protected. Learn More.
I have created the StartTime field by using the below code. Provided the required details, and not selected the StartTime field value then published the page. But on the publishing page startTime field value showing 12:00. How can we show empty/null if not select the StartTime.
[ClientEditor(ClientEditingClass = "dijit/form/TimeTextBox")]
public virtual DateTime StartTime { get; set; }
.CSHTML
<p>@Model.CurrentPage.EventEndTime.ToString("hh:mm tt")</p>