Not a bug <xf:textbox type="time"> does not throw a validation error when both Hour and Minute parts are deleted

DragonByte Tech

Well-known member
Affected version
2.0.0 RC3
Examples:
--:30 = validation error
23:-- = validation error
--:-- = no error, form value is an empty string

Additionally, when you refresh the form and mouse over it, there's a blue X next to the step icons:

1511825982572.webp

Mousing over this icon shows the same validation error message as is shown when you enter --:30 or 23:--

This is my HTML:

<xf:textbox type="time" name="time" value="{{ $download.release_date ? date($download.release_date, 'H:i') : date($xf.time, 'H:i') }}" />


Fillip
 
Top Bottom