This new iteration of select-kit focuses on following best principales and disallowing mutations inside select-kit components. A best effort has been made to avoid breaking changes, however if you content was a flat array, eg: ["foo", "bar"] You will need to set valueProperty=null and nameProperty=null on the component. Also almost every component should have an `onChange` handler now to decide what to do with the updated data. **select-kit will not mutate your data by itself anymore**
22 lines
704 B
Handlebars
22 lines
704 B
Handlebars
{{#d-modal-body title="user.user_notifications.ignore_duration_title" autoFocus="false"}}
|
|
{{future-date-input
|
|
label="user.user_notifications.ignore_duration_when"
|
|
input=ignoredUntil
|
|
includeWeekend=true
|
|
includeDateTime=false
|
|
includeMidFuture=true
|
|
includeFarFuture=false
|
|
onChangeInput=(action (mut ignoredUntil))
|
|
}}
|
|
<p>{{i18n "user.user_notifications.ignore_duration_note"}}</p>
|
|
{{/d-modal-body}}
|
|
|
|
<div class="modal-footer">
|
|
{{d-button class="btn-primary"
|
|
disabled=saveDisabled
|
|
label="user.user_notifications.ignore_duration_save"
|
|
action=(action "ignore")}}
|
|
|
|
{{conditional-loading-spinner size="small" condition=loading}}
|
|
</div>
|