• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

Affected version
2.0.0 RC3

DragonByte Tech

Well-known member
#1
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.png

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