Dear,
We have been working on transferring to precompiled handlebars templates. Before we were compiling these in the front-end. This gave us the option to pass in some data in the template before compiling.
However with precompiling this is not possible.
I noticed for the SearchField and the Facets it's possible to just add variables to the conf and these are being handed to the templates. It's a bit inconsistent here, but it works. For the SearchField it's accesible on the root, for Facets it's within 'conf'.
However for the SearchResults. Only the data of the search itself seems to be passed to the template. Making it impossible to pass additional labels to the template.
Would it be possible to add this functionality to the SearchResults component?
see https://github.com/AddSearch/search-ui/blob/master/src/components/searchresults/searchresults.js line 51