This repository was archived by the owner on Sep 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -450,7 +450,7 @@ <h2>Local Data Search with custom propertyToSearch, resultsFormatter and tokenFo
450
450
] , {
451
451
propertyToSearch : "first_name" ,
452
452
resultsFormatter : function ( item ) { return "<li>" + "<img src='" + item . url + "' title='" + item . first_name + " " + item . last_name + "' height='25px' width='25px' />" + "<div style='display: inline-block; padding-left: 10px;'><div class='full_name'>" + item . first_name + " " + item . last_name + "</div><div class='email'>" + item . email + "</div></div></li>" } ,
453
- tokenFormatter : function ( item ) { return "<li><p>" + item . first_name + " " + item . last_name + "</p></li>" } ,
453
+ tokenFormatter : function ( item ) { return "<li><p>" + item . first_name + " " + item . last_name + "</p></li>" }
454
454
} ) ;
455
455
} ) ;
456
456
</ script >
@@ -669,7 +669,7 @@ <h2>Change propertyToSearch anytime</h2>
669
669
] , {
670
670
propertyToSearch : "first_name" ,
671
671
resultsFormatter : function ( item ) { return "<li>" + "<img src='" + item . url + "' title='" + item . first_name + " " + item . last_name + "' height='25px' width='25px' />" + "<div style='display: inline-block; padding-left: 10px;'><div class='first_name'>" + item . first_name + " " + item . last_name + "</div><div class='email'>" + item . email + "</div><div class='url'>" + item . url + "</div></div></li>" } ,
672
- tokenFormatter : function ( item ) { return "<li><p>" + item . first_name + " " + item . last_name + "</p></li>" } ,
672
+ tokenFormatter : function ( item ) { return "<li><p>" + item . first_name + " " + item . last_name + "</p></li>" }
673
673
} ) ;
674
674
} ) ;
675
675
</ script >
You can’t perform that action at this time.
0 commit comments