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'm having a problem with how the dependent keys are calculated for certain (JSON) data. It turns out that you cannot use some composable macros with data which has a space in the keys. Consider this array:
I'm having a problem with how the dependent keys are calculated for certain (JSON) data. It turns out that you cannot use some composable macros with data which has a space in the keys. Consider this array:
If you set
selectedField
to "id" or "fname", it computes theuniques
value as expected. But if you set it to "last name", a runtime error is raised:Here's a Twiddle demonstrating this:
https://ember-twiddle.com/e453fcf9cb9964caa2df438b0751c7e9?openFiles=templates.application.hbs%2C
Also, fwiw, using a dependent property with a space is valid for the non-awesome stock macros. E.g.,
The text was updated successfully, but these errors were encountered: