mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 06:18:28 +01:00
b7bef8f297
Adds behat support for selecting a date from the date selector element. The passed values should represent a textual date description wrapped in '##' (e.g. '##first day of January 2020##', '##1 Jan 2020##'). Also, the value 'disabled' is valid and can be used to disable the date selector element.
14 lines
472 B
Plaintext
14 lines
472 B
Plaintext
{{< core_form/element-group }}
|
|
{{$element}}
|
|
<fieldset data-fieldtype="date" class="m-0 p-0 border-0" id="{{element.id}}">
|
|
<legend class="sr-only">{{label}}</legend>
|
|
<span class="fdate_selector d-flex align-items-center">
|
|
{{#element.elements}}
|
|
{{{separator}}}
|
|
{{{html}}}
|
|
{{/element.elements}}
|
|
</span>
|
|
</fieldset>
|
|
{{/element}}
|
|
{{/ core_form/element-group }}
|