Set individual future-date-input components as clearable, fixes admin Safari bug (#6522)
This commit is contained in:
parent
ed9c21e42c
commit
3c92202654
|
@ -7,6 +7,7 @@
|
|||
class="silence-until"
|
||||
label="admin.user.silence_duration"
|
||||
includeFarFuture=true
|
||||
clearable=false
|
||||
input=silenceUntil}}
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
class="suspend-until"
|
||||
label="admin.user.suspend_duration"
|
||||
includeFarFuture=true
|
||||
clearable=false
|
||||
input=suspendUntil}}
|
||||
</label>
|
||||
</div>
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
input=input
|
||||
includeWeekend=includeWeekend
|
||||
includeFarFuture=includeFarFuture
|
||||
clearable=clearable
|
||||
none="topic.auto_update_input.none"}}
|
||||
</div>
|
||||
|
||||
|
|
|
@ -44,6 +44,7 @@
|
|||
{{future-date-input
|
||||
class="pin-until"
|
||||
includeFarFuture=true
|
||||
clearable=true
|
||||
input=model.pinnedInCategoryUntil}}
|
||||
{{popup-input-tip validation=pinInCategoryValidation shownAt=pinInCategoryTipShownAt}}
|
||||
</p>
|
||||
|
@ -54,6 +55,7 @@
|
|||
{{future-date-input
|
||||
class="pin-until"
|
||||
includeFarFuture=true
|
||||
clearable=true
|
||||
input=model.pinnedInCategoryUntil}}
|
||||
{{popup-input-tip validation=pinInCategoryValidation shownAt=pinInCategoryTipShownAt}}
|
||||
</p>
|
||||
|
@ -86,6 +88,7 @@
|
|||
{{future-date-input
|
||||
class="pin-until"
|
||||
includeFarFuture=true
|
||||
clearable=true
|
||||
input=model.pinnedGloballyUntil}}
|
||||
{{popup-input-tip validation=pinGloballyValidation shownAt=pinGloballyTipShownAt}}
|
||||
</p>
|
||||
|
@ -96,6 +99,7 @@
|
|||
{{future-date-input
|
||||
class="pin-until"
|
||||
includeFarFuture=true
|
||||
clearable=true
|
||||
input=model.pinnedGloballyUntil}}
|
||||
{{popup-input-tip validation=pinGloballyValidation shownAt=pinGloballyTipShownAt}}
|
||||
</p>
|
||||
|
|
|
@ -164,7 +164,6 @@ export default ComboBoxComponent.extend(DatetimeMixin, {
|
|||
classNames: ["future-date-input-selector"],
|
||||
isCustom: Ember.computed.equal("value", "pick_date_and_time"),
|
||||
isBasedOnLastPost: Ember.computed.equal("value", "set_based_on_last_post"),
|
||||
clearable: true,
|
||||
rowComponent: "future-date-input-selector/future-date-input-selector-row",
|
||||
headerComponent:
|
||||
"future-date-input-selector/future-date-input-selector-header",
|
||||
|
|
Loading…
Reference in New Issue