0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-24 10:20:28 +01:00
discourse-custom-wizard/assets/javascripts/discourse/templates/components/custom-wizard-date-time-input.hbs

30 Zeilen
614 B
Handlebars

{{#unless timeFirst}}
{{custom-wizard-date-input
date=date
relativeDate=relativeDate
onChange=(action "onChangeDate")
tabindex=dateTabindex
}}
{{/unless}}
{{#if showTime}}
{{custom-wizard-time-input
date=date
relativeDate=relativeDate
onChange=(action "onChangeTime")
tabindex=timeTabindex
}}
{{/if}}
{{#if timeFirst}}
{{custom-wizard-date-input
date=date
relativeDate=relativeDate
onChange=(action "onChangeDate")
tabindex=dateTabindex
}}
{{/if}}
{{#if clearable}}
2023-07-10 08:55:54 +02:00
{{d-button class="clear-date-time" icon="times" action=(action "onClear")}}
{{/if}}