make filter less rigid
Is your feature request related to a problem? Please describe.
my array of json has address_1, address_2, address_3 it's a pain to pass a filter string to get all 3
Describe the solution you'd like ideally I could filter('addr') and any key/value pair with those 4 consecutive letters would remain while everything else gets hidden.
Describe alternatives you've considered
right now i just do **.entire_field_name
Additional context
Might need to put this functionality behind an option like filterMode(...) which allows users to keep the exact (default), or fuzzy (generous filter matching both keys and values with partial strings)
Hi @dave-ics, if you haven't tried it yet, you could pass a RegExp to the filter, that would give you much more flexibility.
Take a look at this example https://codepen.io/alenaksu/pen/vYvNvWj