This repository has been archived on 2023-03-18. You can view files and clone it, but cannot push or open issues or pull requests.
osr-discourse-src/app/assets/javascripts/admin/addon/templates/components/site-settings/enum.hbs
Joffrey JAFFEUX 7b34433fc2
REVERT: revert change from action + mut to mut (#10844)
* Revert "FIX: fixes regression where wizard dropdown couldn't update (#10838)"

This reverts commit e3b2fc6074.

* Revert "DEV: replaces unecessary (action (mut .*)) by (mut .*) (#10822)"

This reverts commit c0350dc362.
2020-10-06 23:50:05 +02:00

20 lines
388 B
Handlebars

{{combo-box
content=setting.validValues
value=value
onChange=(action (mut value))
valueProperty=setting.computedValueProperty
nameProperty=setting.computedNameProperty
options=(hash
castInteger=true
allowAny=setting.allowsNone
)
}}
{{preview}}
{{setting-validation-message message=validationMessage}}
<div class="desc">
{{html-safe setting.description}}
</div>