mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Avoid using the old action helper (#26935)
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
<ComboBox
|
||||
@content={{this.validValues}}
|
||||
@value={{this.newValue}}
|
||||
@onChange={{action this.addValue}}
|
||||
@onChange={{this.addValue}}
|
||||
@valueProperty={{this.setting.computedValueProperty}}
|
||||
@nameProperty={{this.setting.computedNameProperty}}
|
||||
@options={{hash castInteger=true allowAny=false}}
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
<WatchedWords
|
||||
@id="watched-words"
|
||||
@value={{this.words}}
|
||||
@onChange={{action (mut this.words)}}
|
||||
@onChange={{fn (mut this.words)}}
|
||||
@options={{hash
|
||||
filterPlaceholder=this.placeholderKey
|
||||
disabled=this.formSubmitted
|
||||
|
||||
Reference in New Issue
Block a user