DEV: Avoid using the old action helper (#26935)

This commit is contained in:
Jarek Radosz
2024-05-08 20:26:48 +02:00
committed by GitHub
parent 1b80ee9eb7
commit e579cfc08f
9 changed files with 14 additions and 15 deletions

View File

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

View File

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