mirror of
https://github.com/discourse/discourse.git
synced 2024-12-05 04:43:43 +08:00
e4c373194d
This commit refactors the Wizard component code in preparation for moving it to the 'static' directory for Embroider route-splitting. It also includes a number of general improvements and simplifications. Extracted from https://github.com/discourse/discourse/pull/23678 Co-authored-by: Godfrey Chan <godfreykfc@gmail.com>
10 lines
234 B
Handlebars
10 lines
234 B
Handlebars
{{component
|
|
this.component
|
|
class="wizard-container__dropdown"
|
|
value=this.field.value
|
|
content=this.field.choices
|
|
nameProperty="label"
|
|
tabindex="9"
|
|
onChange=(action "onChangeValue")
|
|
options=(hash translatedNone=false)
|
|
}} |