DEV: Fix select-kit deprecations (#15080)

This commit is contained in:
Jarek Radosz
2022-04-05 19:01:09 +02:00
committed by GitHub
parent ddafa42b7e
commit 14778ba52e
30 changed files with 129 additions and 59 deletions

View File

@ -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>

View File

@ -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"}}