Add item with results #304
Unanswered
Hugo-Matias
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Have you tried using the FooterTemplate? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm implementing an AddItemOnEmptyResult when my search comes empty but I would like to be able to add a new item even if some data is retrieved but not an exact match. Is there a workaround to display the NotFoundTemplate even when some data is retrieved from the SearchMethod?
My search function uses .Contains() to retrieve similar objects but in essence I would like to add an item if .Equals() returns empty while keep using contains for the search method.
For instance:
Input: foo
Results:
foobar
I would like to set it like so:
Input: foo
Results:
foobar
Add new entry: foo <- NotFoundTemplate
Beta Was this translation helpful? Give feedback.
All reactions