Open DmitrySharabin opened 3 years ago
Since we can get collections based on lists, it would be nice if we could perform custom actions on lists as well.
E.g., we could have the code like this:
<meta property="foo" content="[list('foo', 'baz')]"> <p mv-multiple mv-value="foo"></p> <button mv-action="add('bar', foo)">Add bar</button> <button mv-action="delete(foo where 'bar')">Delete bar</button> <button mv-action="move(foo where 'baz', 0)">Make baz first</button>
What do you think?
Oh yes, absolutely. I'd go as far as to say that it's a bug that this doesn't work today!
Since we can get collections based on lists, it would be nice if we could perform custom actions on lists as well.
E.g., we could have the code like this:
What do you think?