DEV: Use fn+mut instead of action+mut (#26057)

One step closer to removing all `action` helper usage
This commit is contained in:
Jarek Radosz
2024-03-06 18:05:03 +01:00
committed by GitHub
parent ac083ffca6
commit 11067c73d0
61 changed files with 111 additions and 117 deletions

View File

@ -162,7 +162,7 @@
<GroupChooser
@content={{this.siteGroups}}
@value={{this.pollGroups}}
@onChange={{action (mut this.pollGroups)}}
@onChange={{fn (mut this.pollGroups)}}
@labelProperty="name"
@valueProperty="name"
/>
@ -174,7 +174,7 @@
}}</label>
<DateTimeInput
@date={{this.pollAutoClose}}
@onChange={{action (mut this.pollAutoClose)}}
@onChange={{fn (mut this.pollAutoClose)}}
@clearable={{true}}
@useGlobalPickerContainer={{true}}
/>
@ -188,7 +188,7 @@
@content={{this.pollResults}}
@value={{this.pollResult}}
@valueProperty="value"
@onChange={{action (mut this.pollResult)}}
@onChange={{fn (mut this.pollResult)}}
class="poll-result"
/>
</div>