diff --git a/src/Components/Web.JS/src/Rendering/BrowserRenderer.ts b/src/Components/Web.JS/src/Rendering/BrowserRenderer.ts index 35a207d3aaa1..7e4c6bd82137 100644 --- a/src/Components/Web.JS/src/Rendering/BrowserRenderer.ts +++ b/src/Components/Web.JS/src/Rendering/BrowserRenderer.ts @@ -390,20 +390,16 @@ export class BrowserRenderer { // Certain elements have built-in behaviour for their 'value' property const frameReader = batch.frameReader; - if (element.tagName === 'INPUT' && element.getAttribute('type') === 'time' && !element.getAttribute('step')) { - const timeValue = attributeFrame ? frameReader.attributeValue(attributeFrame) : null; - if (timeValue) { - element['value'] = timeValue.substring(0, 5); - return true; - } + let value = attributeFrame ? frameReader.attributeValue(attributeFrame) : null; + + if (value && element.tagName === 'INPUT') { + value = normalizeInputValue(value, element.getAttribute('type')); } switch (element.tagName) { case 'INPUT': case 'SELECT': case 'TEXTAREA': { - let value = attributeFrame ? frameReader.attributeValue(attributeFrame) : null; - // Include seconds
+

Month of visit:

- Appointment date and time: + Appointment date and time:
+ Include seconds
+

Ticket class: @@ -145,6 +159,8 @@ EditContext editContext; ValidationMessageStore customValidationMessageStore; bool enableDataAnnotationsSupport = true; + bool includeTimeSeconds; + bool includeDateTimeLocalSeconds; protected override void OnInitialized() {