mirror of
https://github.com/discourse/discourse.git
synced 2025-04-19 21:29:05 +08:00
DEV: Fix castInteger
deprecations (#15004)
This commit is contained in:
parent
4021842628
commit
82c72a46d1
@ -8,9 +8,11 @@
|
||||
valueProperty="value"
|
||||
value=model.visibility_level
|
||||
content=visibilityLevelOptions
|
||||
castInteger=true
|
||||
class="groups-form-visibility-level"
|
||||
onChange=(action (mut model.visibility_level))
|
||||
options=(hash
|
||||
castInteger=true
|
||||
)
|
||||
}}
|
||||
|
||||
<div class="control-instructions">
|
||||
|
@ -24,8 +24,10 @@
|
||||
id="search-type"
|
||||
value=search_type
|
||||
content=searchTypes
|
||||
castInteger=true
|
||||
onChange=(action (mut search_type))
|
||||
options=(hash
|
||||
castInteger=true
|
||||
)
|
||||
}}
|
||||
{{d-button
|
||||
action=(action "search" (hash collapseFilters=true))
|
||||
@ -90,9 +92,11 @@
|
||||
{{combo-box
|
||||
value=sortOrder
|
||||
content=sortOrders
|
||||
castInteger=true
|
||||
onChange=(action (mut sortOrder))
|
||||
id="search-sort-by"
|
||||
options=(hash
|
||||
castInteger=true
|
||||
)
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user