From f16d174763be6641b0ff50a256feac5e1fa4e2c3 Mon Sep 17 00:00:00 2001 From: Chris Krycho Date: Fri, 29 May 2020 14:01:49 -0600 Subject: [PATCH] [BUGFIX LTS] invoke methods correctly in TextSupport sendAction The introduction of the `attrs` API in Ember 3.13 included wrapping items passed to components with `MutableCell`, to support two-way binding. Although two-way binding is gone from much of Ember, the text input components (`Input` and `Textarea`) continue to support it, via the `TextSupport` mixins. The `sendAction` function used by the mixin previously assumed that the only options were for an action to be a string or a function -- not a function wrapped in a `MutableCell`. The result was that this code, which would be expected to work, did not: it would simply never be invoked.