DEV: Fix castInteger deprecations (#15004)

This commit is contained in:
Jarek Radosz 2021-11-18 16:52:14 +01:00 committed by GitHub
parent 4021842628
commit 82c72a46d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 3 deletions

View File

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

View File

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