checked,checkedValue feature request

16 views
Skip to first unread message

Noirabys

unread,
Jun 16, 2015, 5:11:47 AM6/16/15
to knock...@googlegroups.com
Hi,

it would be great if the checked binding would be enhanced to supply a comparator function. right now it uses object identity, which is good, but in 
a scenorio where values are stored and reloaded it would make live easier if one could define a custom comparator to compare against primary key or what ever
instead.

perhaps with an additional binding
for example:

 checkedComparator: function(left,right){  return left.id == right.id; }

 and if not supplied use the standard object identity.

How to add those feature requests to discussion and finally 
have into a new knockout version?

best regards,
 noirabys


Reply all
Reply to author
Forward
0 new messages