Hello.
I want to set LiveSearch.templateString by defining a custom searchbox (see the code below).
But LiveSearch.templateString is not a member of the SearchBox class. It is defined as a separate class, when creating SearchBox (see https://dev.alfresco.com/resource/docs/aikau-jsdoc/SearchBox.js.html).
Is there a way to set templateString of LIveSearch using an override of SearchBox??
Greetings,
Wybrand.
define(["dojo/_base/declare",
"dojo/text!./templates/my-livesearch.html",
"alfresco/header/SearchBox"],
function (declare, template, SearchBox) {
return declare([SearchBox],{
postMixInProperties: function my_searchBox__postMixInProperties(){
// How to set LiveSearch.templateString since this is not a member of SearchBox??
}
});
});