-
Notifications
You must be signed in to change notification settings - Fork 278
Feature request: functions for list values #55
Comments
Filter already exists but you need to define in tile, not in each list item |
Filters aren't great solution. Probably we should think about make most of properties both functions and strings. |
Fields in lists now can be used as functions, every function called with context {states, $scope} and has argument tile (that you've proveided in config). |
Could someone explain to me how to code this up to get it working? `{
Neither position seems to be correct for me (well they both dont work) |
Text list tile has nothing to do with states. Use anon function to format value however you like:
|
Awesome - thank you!! :) Working perfectly. |
Thank you so much for posting this! Been trying to figure it out for hours. |
I want to be able to render other text in the list for sensors that have "on/off" state. For example:
This doesn't seem to work right now, it just tries to render the function as a string:
Having this would be a very powerful addition to lists.
The text was updated successfully, but these errors were encountered: