search-ui icon indicating copy to clipboard operation
search-ui copied to clipboard

Unable to register handlebars partial

Open Etroid opened this issue 4 years ago • 1 comments

Is there a way to register partials so they can be used within some of the addsearch ui templates?

Adding them to the global handlebars using

handlebars.registerPartial('test', '<h1>test</h1>');

just results in partial not found errors

Etroid avatar Jan 31 '22 19:01 Etroid

Hi Etroid, New release v0.6.1 now allows registering partials. Please update your package version to 0.6 and also check README.md on how to use Handlebars partials via AddSearch Search UI Library. Thank you.

haoAddsearch avatar Feb 02 '22 09:02 haoAddsearch