You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I gave your reproduction a try and I think the problem is that a plain function is used as the modifier value which won't work without your default modifier manager RFC. If you wrap that function in the ember-could-get-used-to-this`s modifier function it works as expected.
In fact, Ember already warns you about this with an error in the console:
Uncaught Error: Expected a dynamic modifier definition, but received an object or function that did not have a modifier manager associated with it. The dynamic invocation was `{{@myModifier}}`, and the incorrect definition is the value at the path `@myModifier`, which was: (unknown function)
🐞 Describe the Bug
Probably related to : #19869
but
(helper aHelper)
and(component aComponent)
work for currying values, but(modifier)
only takes strings.(modifier)
should take values for pairity with helper and component.🔬 Minimal Reproduction
https://github.com/NullVoxPopuli/curried-things-test
😕 Actual Behavior
An error occurs
🤔 Expected Behavior
A curried modifier is returned
🌍 Environment
~3.28.0
➕ Additional Context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: