You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I can't find any documentation for resultsList.container to know how it works and how it differs from the resultsList.noResults option that was removed in v10. Please add some documentation.
Thoroughly Describe the solution you'd like
The changelog states:
Changed: noResults API to accept boolean instead of Function to be replaced with resultsList.container
This suggests that resultsList.container is the replacement for resultsList.noResults, but there's no documentation for that and in fact resultsList.container has been moved to resultsList.element. I had custom logic that was running in the noResults callback, so a boolean as a replacement is not sufficient for me. How can I regain that functionality?
Please provide a few use cases for this feature
Replacing custom logic that was previously in noResults in v9
Please Describe alternatives you've considered
I don't know of any alternatives.
Additional context
N/A
The text was updated successfully, but these errors were encountered:
@folknor thanks for your input. The changelog actually does show that container was changed to element, that's part of why the line I quoted is confusing. If container has been removed then I don't see how it can be a replacement for noResults.
Thanks for the code snippet, I'll try that and see if works.
Is your feature request related to a problem? Please describe.
I can't find any documentation for
resultsList.container
to know how it works and how it differs from theresultsList.noResults
option that was removed in v10. Please add some documentation.Thoroughly Describe the solution you'd like
The changelog states:
This suggests that
resultsList.container
is the replacement forresultsList.noResults
, but there's no documentation for that and in factresultsList.container
has been moved toresultsList.element
. I had custom logic that was running in thenoResults
callback, so a boolean as a replacement is not sufficient for me. How can I regain that functionality?Please provide a few use cases for this feature
noResults
in v9Please Describe alternatives you've considered
I don't know of any alternatives.
Additional context
N/A
The text was updated successfully, but these errors were encountered: