mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 13:51:18 +08:00
DEV: Fix select-kit deprecations (#15080)
This commit is contained in:
@ -94,7 +94,10 @@
|
||||
class="recurrence-input"
|
||||
value=recurring
|
||||
onChange=(action (mut recurring))
|
||||
none="discourse_local_dates.create.form.recurring_none"}}
|
||||
options=(hash
|
||||
none="discourse_local_dates.create.form.recurring_none"
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
{{/unless}}
|
||||
@ -134,10 +137,12 @@
|
||||
valueProperty=null
|
||||
nameProperty=null
|
||||
class="timezones-input"
|
||||
allowAny=false
|
||||
maximum=5
|
||||
content=allTimezones
|
||||
value=timezones
|
||||
options=(hash
|
||||
allowAny=false
|
||||
maximum=5
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
|
@ -47,7 +47,13 @@
|
||||
{{/styleguide-example}}
|
||||
|
||||
{{#styleguide-example title="dropdown-select-box"}}
|
||||
{{dropdown-select-box content=dummy.options title="Something" onChange=(action "dummy")}}
|
||||
{{dropdown-select-box
|
||||
content=dummy.options
|
||||
onChange=(action "dummy")
|
||||
options=(hash
|
||||
translatedNone="Something"
|
||||
)
|
||||
}}
|
||||
{{/styleguide-example}}
|
||||
|
||||
{{#styleguide-example title="future-date-input-selector"}}
|
||||
|
Reference in New Issue
Block a user