File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -101,4 +101,18 @@ Parameter Description
101
101
``{{ label }} `` Corresponding form field label
102
102
=============== ==============================================================
103
103
104
+ ``withSeconds ``
105
+ ~~~~~~~~~~~~~~~
106
+
107
+ **type **: ``boolean `` **default **: ``true ``
108
+
109
+ This option allows you to specify whether the time should include seconds.
110
+
111
+ ========= =============================== ============== ================
112
+ Option Pattern Correct value Incorrect value
113
+ ========= =============================== ============== ================
114
+ ``true `` ``/^(\d{2}):(\d{2}):(\d{2})$/ `` ``12:00:00 `` ``12:00 ``
115
+ ``false `` ``/^(\d{2}):(\d{2})$/ `` ``12:00 `` ``12:00:00 ``
116
+ ========= =============================== ============== ================
117
+
104
118
.. include :: /reference/constraints/_payload-option.rst.inc
You can’t perform that action at this time.
0 commit comments